Originally committed as revision 24943 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -45,12 +45,12 @@ static int a64_write_header(struct AVFormatContext *s) |
| 45 | 45 |
switch (avctx->codec->id) {
|
| 46 | 46 |
case CODEC_ID_A64_MULTI: |
| 47 | 47 |
header[2] = 0x00; |
| 48 |
- header[3] = 4; |
|
| 48 |
+ header[3] = AV_RB32(avctx->extradata+0); |
|
| 49 | 49 |
header[4] = 2; |
| 50 | 50 |
break; |
| 51 | 51 |
case CODEC_ID_A64_MULTI5: |
| 52 | 52 |
header[2] = 0x01; |
| 53 |
- header[3] = 4; |
|
| 53 |
+ header[3] = AV_RB32(avctx->extradata+0); |
|
| 54 | 54 |
header[4] = 3; |
| 55 | 55 |
break; |
| 56 | 56 |
default: |