diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-23 14:11:35 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-11 22:37:58 +0100 |
commit | 953ad7b362d6bd05669ad063cfa11e13b12c8362 (patch) | |
tree | 51adc7f32e0ea6e3a10537585a16bd2d2d66cc19 | |
parent | 9abd7d144d6a3ca9c4c1bd363b1e0f279c38697c (diff) | |
download | ffmpeg-953ad7b362d6bd05669ad063cfa11e13b12c8362.tar.gz |
avformat/omadec: Don't output uninitialized values
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit 874f03fae7618e61aec34a0739404559245abd09)
-rw-r--r-- | libavformat/omadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/omadec.c b/libavformat/omadec.c index d31b475fd2..0f1c93c0be 100644 --- a/libavformat/omadec.c +++ b/libavformat/omadec.c @@ -494,7 +494,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; |