mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-17 12:27:18 +00:00
avcodec/ccaption_dec: return the number of bytes decoded
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
2aec86695a
commit
e16b874b6a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user