aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-05-04 18:49:22 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-05-05 19:35:38 +0200
commitf93bd302821e08df5ee037e67c4b85bec5d4d475 (patch)
treec31af8c0033f7512dd9bf4ab31ec94e936ceccac
parent781c7a6217e1afe68c85c500ae16b4bc7ea7b033 (diff)
downloadffmpeg-f93bd302821e08df5ee037e67c4b85bec5d4d475.tar.gz
avformat/nutenc: Write size into right dynamic buffer
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavformat/nutenc.c2
-rw-r--r--libavformat/version.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index ca433038d4..6d3bf6c21e 100644
--- a/libavformat/nutenc.c
+++ b/libavformat/nutenc.c
@@ -903,7 +903,7 @@ static int write_sm_data(AVFormatContext *s, AVIOContext *bc, AVPacket *pkt, int
put_str(dyn_bc, "ChannelLayout");
put_s(dyn_bc, -2);
put_str(dyn_bc, "u64");
- put_v(bc, 8);
+ put_v(dyn_bc, 8);
avio_write(dyn_bc, data, 8); data+=8;
sm_data_count++;
}
diff --git a/libavformat/version.h b/libavformat/version.h
index b9a014749c..88725e198a 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -33,7 +33,7 @@
// Also please add any ticket numbers that you believe might be affected here
#define LIBAVFORMAT_VERSION_MAJOR 58
#define LIBAVFORMAT_VERSION_MINOR 42
-#define LIBAVFORMAT_VERSION_MICRO 102
+#define LIBAVFORMAT_VERSION_MICRO 103
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
LIBAVFORMAT_VERSION_MINOR, \