mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Insert info from extradata into header
Originally committed as revision 24943 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9e906bb1bf
commit
2fdb2b5438
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user