[FFmpeg-cvslog] avcodec/h264_metadata_bsf: Don't use unitialized value
Andreas Rheinhardt
git at videolan.org
Fri Jan 22 15:39:14 EET 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Fri Jan 22 12:42:44 2021 +0100| [ee1d1c4b377052635920a71f8fb2efd77ea3b38c] | committer: Andreas Rheinhardt
avcodec/h264_metadata_bsf: Don't use unitialized value
Reviewed-by: Mark Thompson <sw at jkqxz.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ee1d1c4b377052635920a71f8fb2efd77ea3b38c
---
libavcodec/h264_metadata_bsf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 = {
More information about the ffmpeg-cvslog
mailing list