mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/ccaption_dec: fix some small style issues
This commit is contained in:
parent
3615b58693
commit
d5b1760665
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue