[FFmpeg-cvslog] avformat/omadec: Don't output uninitialized values

Andreas Rheinhardt git at videolan.org
Fri Sep 24 01:24:39 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu Sep 23 14:11:35 2021 +0200| [874f03fae7618e61aec34a0739404559245abd09] | committer: Andreas Rheinhardt

avformat/omadec: Don't output uninitialized values

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

 libavformat/omadec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/omadec.c b/libavformat/omadec.c
index f6b7697a43..a727cc4d66 100644
--- a/libavformat/omadec.c
+++ b/libavformat/omadec.c
@@ -491,7 +491,7 @@ static int oma_read_header(AVFormatContext *s)
         AV_WL16(&edata[6],  jsflag);        // coding mode
         AV_WL16(&edata[8],  jsflag);        // coding mode
         AV_WL16(&edata[10], 1);             // always 1
-        // AV_WL16(&edata[12], 0);          // always 0
+        AV_WL16(&edata[12], 0);             // always 0
 
         avpriv_set_pts_info(st, 64, 1, st->codecpar->sample_rate);
         break;



More information about the ffmpeg-cvslog mailing list