summaryrefslogtreecommitdiff
path: root/libavformat/omadec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-23 14:11:35 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-24 00:14:10 +0200
commit874f03fae7618e61aec34a0739404559245abd09 (patch)
tree42b61234b9b272b4682ddd227bd4e4ab25c6d228 /libavformat/omadec.c
parentbb50823d2445a7e83fbc5036a1a7d5958bd10608 (diff)
downloadffmpeg-874f03fae7618e61aec34a0739404559245abd09.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>
Diffstat (limited to 'libavformat/omadec.c')
-rw-r--r--libavformat/omadec.c2
1 files changed, 1 insertions, 1 deletions
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;