mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 12:00:06 +01:00
avcodec/ccaption_dec: fix some small style issues
This commit is contained in:
@@ -820,8 +820,7 @@ static int decode(AVCodecContext *avctx, void *data, int *got_sub, AVPacket *avp
|
|||||||
continue;
|
continue;
|
||||||
ctx->buffer_changed = 0;
|
ctx->buffer_changed = 0;
|
||||||
|
|
||||||
if (*ctx->buffer.str || ctx->real_time)
|
if (ctx->buffer.str[0] || ctx->real_time) {
|
||||||
{
|
|
||||||
ff_dlog(ctx, "cdp writing data (%s)\n", ctx->buffer.str);
|
ff_dlog(ctx, "cdp writing data (%s)\n", ctx->buffer.str);
|
||||||
ret = ff_ass_add_rect(sub, ctx->buffer.str, ctx->readorder++, 0, NULL, NULL);
|
ret = ff_ass_add_rect(sub, ctx->buffer.str, ctx->readorder++, 0, NULL, NULL);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user