diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-11-03 15:56:51 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-12-12 08:24:18 +0100 |
commit | f37a741f42789010b086445fb2327d68da2b07ef (patch) | |
tree | 72c97135fbb1682c09d6169863f6b1d0726917a0 | |
parent | 40e1cf1cd27c788d52e11647068f251597a7b98f (diff) | |
download | ffmpeg-f37a741f42789010b086445fb2327d68da2b07ef.tar.gz |
fftools/ffmpeg_filter: reindent
-rw-r--r-- | fftools/ffmpeg_filter.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index 1800296aa4..1df1212442 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_filter.c @@ -2526,17 +2526,17 @@ static int sub2video_frame(InputFilter *ifilter, AVFrame *frame) return 0; } - if (!frame) { - if (ifp->sub2video.end_pts < INT64_MAX) - sub2video_update(ifp, INT64_MAX, NULL); + if (!frame) { + if (ifp->sub2video.end_pts < INT64_MAX) + sub2video_update(ifp, INT64_MAX, NULL); - return av_buffersrc_add_frame(ifp->filter, NULL); - } + return av_buffersrc_add_frame(ifp->filter, NULL); + } - ifp->width = frame->width ? frame->width : ifp->width; - ifp->height = frame->height ? frame->height : ifp->height; + ifp->width = frame->width ? frame->width : ifp->width; + ifp->height = frame->height ? frame->height : ifp->height; - sub2video_update(ifp, INT64_MIN, (const AVSubtitle*)frame->buf[0]->data); + sub2video_update(ifp, INT64_MIN, (const AVSubtitle*)frame->buf[0]->data); return 0; } |