Commit 243f9ed0 authored by bcoudurier's avatar bcoudurier

set alac frame size from extradata

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12937 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ba8d75f9
...@@ -936,6 +936,10 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) ...@@ -936,6 +936,10 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
case CODEC_ID_ADPCM_IMA_WAV: case CODEC_ID_ADPCM_IMA_WAV:
st->codec->block_align = sc->bytes_per_frame; st->codec->block_align = sc->bytes_per_frame;
break; break;
case CODEC_ID_ALAC:
if (st->codec->extradata_size == 36)
st->codec->frame_size = AV_RB32((st->codec->extradata+12));
break;
default: default:
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment