diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-01-22 12:42:44 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-01-22 14:38:09 +0100 |
commit | ee1d1c4b377052635920a71f8fb2efd77ea3b38c (patch) | |
tree | 38ef3c8cafdbfe8eff9c9f0944933a9a4205192b | |
parent | 53db591a2e2b1d8075aef96ef32a7c4d4a64111d (diff) | |
download | ffmpeg-ee1d1c4b377052635920a71f8fb2efd77ea3b38c.tar.gz |
avcodec/h264_metadata_bsf: Don't use unitialized value
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | libavcodec/h264_metadata_bsf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_metadata_bsf.c b/libavcodec/h264_metadata_bsf.c index 30c0aa80d9..6673a32601 100644 --- a/libavcodec/h264_metadata_bsf.c +++ b/libavcodec/h264_metadata_bsf.c @@ -528,7 +528,7 @@ static int h264_metadata_update_fragment(AVBSFContext *bsf, AVPacket *pkt, if (pkt) ctx->done_first_au = 1; - return err; + return 0; } static const CBSBSFType h264_metadata_type = { |