1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

avcodec/ccaption_dec: fix some small style issues

This commit is contained in:
Paul B Mahol
2020-06-16 11:16:03 +02:00
parent 3615b58693
commit d5b1760665

View File

@@ -820,8 +820,7 @@ static int decode(AVCodecContext *avctx, void *data, int *got_sub, AVPacket *avp
continue;
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);
ret = ff_ass_add_rect(sub, ctx->buffer.str, ctx->readorder++, 0, NULL, NULL);
if (ret < 0)