Merge commit 'c7d9b473e2'
* commit 'c7d9b473e2':
cdgraphics: do not return 0 from the decode function
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
c628627995
1 changed files with 1 additions and 2 deletions
|
|
@ -353,10 +353,9 @@ static int cdg_decode_frame(AVCodecContext *avctx,
|
|||
*got_frame = 1;
|
||||
} else {
|
||||
*got_frame = 0;
|
||||
buf_size = 0;
|
||||
}
|
||||
|
||||
return buf_size;
|
||||
return avpkt->size;
|
||||
}
|
||||
|
||||
static av_cold int cdg_decode_end(AVCodecContext *avctx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue