Skip to content
Snippets Groups Projects
Commit be511925 authored by Baptiste Coudurier's avatar Baptiste Coudurier
Browse files

set alac frame size from extradata

Originally committed as revision 12937 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3fd6b336
No related branches found
No related tags found
No related merge requests found
......@@ -936,6 +936,10 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
case CODEC_ID_ADPCM_IMA_WAV:
st->codec->block_align = sc->bytes_per_frame;
break;
case CODEC_ID_ALAC:
if (st->codec->extradata_size == 36)
st->codec->frame_size = AV_RB32((st->codec->extradata+12));
break;
default:
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment