summaryrefslogtreecommitdiff
path: root/libavformat/mxfenc.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-08-06 10:29:33 -0300
committerJames Almer <jamrial@gmail.com>2021-08-06 21:22:49 -0300
commitec59ca0e6f4ab8a54600824be7cd2aa7fa1c00ec (patch)
tree309c687e7d10787735ae117fd6ed77ba41838d1b /libavformat/mxfenc.c
parent83946906fb1587e99b7cca78fbaae671a13ed401 (diff)
avformat/mxfenc: add a return at the end of non-void functions
Fixes compilation with GCC 11 when configured with --disable-optimizations Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/mxfenc.c')
-rw-r--r--libavformat/mxfenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index 5ec619675b..229817dba6 100644
--- a/libavformat/mxfenc.c
+++ b/libavformat/mxfenc.c
@@ -507,6 +507,7 @@ static const MXFLocalTagPair* mxf_lookup_local_tag(int tag)
// this assert can only be hit during development
av_assert0(0 && "you forgot to add your new tag to mxf_local_tag_batch");
+ return NULL;
}
static void mxf_mark_tag_unused(MXFContext *mxf, int tag)