You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
avcodec/screenpresso: return the packet size instead of 0
Most decoders return the amount of data used. This is more consistent Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@ -179,7 +179,7 @@ static int screenpresso_decode_frame(AVCodecContext *avctx, void *data,
|
||||
}
|
||||
*got_frame = 1;
|
||||
|
||||
return 0;
|
||||
return avpkt->size;
|
||||
}
|
||||
|
||||
AVCodec ff_screenpresso_decoder = {
|
||||
|
Reference in New Issue
Block a user