summaryrefslogtreecommitdiff
path: root/libavformat/a64.c
diff options
context:
space:
mode:
authorTobias Bindhammer <tobias.bindhammer@uni-ulm.de>2010-08-26 10:03:11 +0000
committerTobias Bindhammer <tobias.bindhammer@uni-ulm.de>2010-08-26 10:03:11 +0000
commit2fdb2b54380c48f0a0c79943bc7c16d8a575400d (patch)
tree36b15eff637744129ab2ec661667fb8f78002881 /libavformat/a64.c
parent9e906bb1bf9a113d5cdc679d9c25fa0d1fa7487d (diff)
Insert info from extradata into header
Originally committed as revision 24943 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/a64.c')
-rw-r--r--libavformat/a64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/a64.c b/libavformat/a64.c
index ad41cdc8c0..4b60a4ccf4 100644
--- a/libavformat/a64.c
+++ b/libavformat/a64.c
@@ -45,12 +45,12 @@ static int a64_write_header(struct AVFormatContext *s)
switch (avctx->codec->id) {
case CODEC_ID_A64_MULTI:
header[2] = 0x00;
- header[3] = 4;
+ header[3] = AV_RB32(avctx->extradata+0);
header[4] = 2;
break;
case CODEC_ID_A64_MULTI5:
header[2] = 0x01;
- header[3] = 4;
+ header[3] = AV_RB32(avctx->extradata+0);
header[4] = 3;
break;
default: