vqavideo: fix return type
Fixes Ticket2281 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
377fabc9e6
commit
1fd86f9a21
@ -529,7 +529,7 @@ static void vqa_decode_chunk(VqaContext *s)
|
||||
|
||||
if (chunk_size > MAX_CODEBOOK_SIZE - s->next_codebook_buffer_index) {
|
||||
av_log(s->avctx, AV_LOG_ERROR, "cbp0 chunk too large (0x%X bytes)\n", chunk_size);
|
||||
return AVERROR_INVALIDDATA;
|
||||
return;
|
||||
}
|
||||
|
||||
/* accumulate partial codebook */
|
||||
@ -557,7 +557,7 @@ static void vqa_decode_chunk(VqaContext *s)
|
||||
|
||||
if (chunk_size > MAX_CODEBOOK_SIZE - s->next_codebook_buffer_index) {
|
||||
av_log(s->avctx, AV_LOG_ERROR, "cbpz chunk too large (0x%X bytes)\n", chunk_size);
|
||||
return AVERROR_INVALIDDATA;
|
||||
return;
|
||||
}
|
||||
|
||||
/* accumulate partial codebook */
|
||||
|
Loading…
x
Reference in New Issue
Block a user