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: 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;
|
||||
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)
|
||||
|
Reference in New Issue
Block a user