You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/ccaption_dec: return the number of bytes decoded
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
@@ -922,7 +922,7 @@ static int decode(AVCodecContext *avctx, AVSubtitle *sub,
|
||||
}
|
||||
|
||||
*got_sub = sub->num_rects > 0;
|
||||
return ret;
|
||||
return avpkt->size;
|
||||
}
|
||||
|
||||
#define OFFSET(x) offsetof(CCaptionSubContext, x)
|
||||
|
Reference in New Issue
Block a user