提交 cc326d2b 编写于 作者: B Baptiste Coudurier

set gsm default frame size and bytes per frame, needed by old qt format, fix sample-gsm-8000.mov

Originally committed as revision 12950 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 07a47ae2
......@@ -856,6 +856,10 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
sc->samples_per_frame = 64;
sc->bytes_per_frame = 34*st->codec->channels;
break;
case CODEC_ID_GSM:
sc->samples_per_frame = 160;
sc->bytes_per_frame = 33;
break;
default:
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册