Commit ca26c2c3 authored by Michael Niedermayer's avatar Michael Niedermayer

lavf: add mp1/2 to determinable_frame_size()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c22fd9bd
...@@ -774,9 +774,9 @@ int av_read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -774,9 +774,9 @@ int av_read_packet(AVFormatContext *s, AVPacket *pkt)
static int determinable_frame_size(AVCodecContext *avctx) static int determinable_frame_size(AVCodecContext *avctx)
{ {
if (/*avctx->codec_id == CODEC_ID_AAC || if (/*avctx->codec_id == CODEC_ID_AAC ||*/
avctx->codec_id == CODEC_ID_MP1 || avctx->codec_id == CODEC_ID_MP1 ||
avctx->codec_id == CODEC_ID_MP2 ||*/ avctx->codec_id == CODEC_ID_MP2 ||
avctx->codec_id == CODEC_ID_MP3/* || avctx->codec_id == CODEC_ID_MP3/* ||
avctx->codec_id == CODEC_ID_CELT*/) avctx->codec_id == CODEC_ID_CELT*/)
return 1; return 1;
......
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