[FFmpeg-cvslog] avfilter/f_segment: silence compiler warning

Paul B Mahol git at videolan.org
Sat Sep 11 23:21:11 EEST 2021


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Sep 11 22:11:46 2021 +0200| [bf0f996c1283731e56a7986a08002baa8ae5064c] | committer: Paul B Mahol

avfilter/f_segment: silence compiler warning

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bf0f996c1283731e56a7986a08002baa8ae5064c
---

 libavfilter/f_segment.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/f_segment.c b/libavfilter/f_segment.c
index e9b574d5bc..70c8393972 100644
--- a/libavfilter/f_segment.c
+++ b/libavfilter/f_segment.c
@@ -207,6 +207,8 @@ static int activate(AVFilterContext *ctx)
         }
         ret = ff_inlink_consume_samples(inlink, 1, max_samples, &frame);
         break;
+    default:
+        return AVERROR_BUG;
     }
 
     if (ret > 0) {



More information about the ffmpeg-cvslog mailing list