Commit 8382541d authored by bcoudurier's avatar bcoudurier

yes it is true for mp4

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12972 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e319e9ba
......@@ -747,7 +747,7 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
get_be32(pb); /* data size, always 0 */
get_be16(pb); /* frames per samples */
get_buffer(pb, codec_name, 32); /* codec name, pascal string (FIXME: true for mp4?) */
get_buffer(pb, codec_name, 32); /* codec name, pascal string */
if (codec_name[0] <= 31) {
memcpy(st->codec->codec_name, &codec_name[1],codec_name[0]);
st->codec->codec_name[codec_name[0]] = 0;
......
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