diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2019-10-10 09:03:54 +0300 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2019-11-08 16:25:10 +0300 |
commit | 81271b3cce3dea9543feb13d41f6ab285d19b770 (patch) | |
tree | d5b5534314c5f4e87f3211938128d1025f91abb6 /libavfilter | |
parent | e7000389905f1ac2858ea2804d621e72f753a7eb (diff) |
avfilter/f_metadata: remove unneeded code
Reviewed-by: Steven Liu <lq@onvideo.cn>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/f_metadata.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavfilter/f_metadata.c b/libavfilter/f_metadata.c index 2ed1393cba..3bf4bb17f5 100644 --- a/libavfilter/f_metadata.c +++ b/libavfilter/f_metadata.c @@ -320,13 +320,11 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) av_dict_set(metadata, s->key, s->value, 0); } return ff_filter_frame(outlink, frame); - break; case METADATA_MODIFY: if (e && e->value) { av_dict_set(metadata, s->key, s->value, 0); } return ff_filter_frame(outlink, frame); - break; case METADATA_PRINT: if (!s->key && e) { s->print(ctx, "frame:%-4"PRId64" pts:%-7s pts_time:%s\n", @@ -341,7 +339,6 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) s->print(ctx, "%s=%s\n", s->key, e->value); } return ff_filter_frame(outlink, frame); - break; case METADATA_DELETE: if (!s->key) { av_dict_free(metadata); @@ -349,7 +346,6 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) av_dict_set(metadata, s->key, NULL, 0); } return ff_filter_frame(outlink, frame); - break; default: av_assert0(0); }; |