1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avformat/sdr2: h264 stream needs parsing

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2014-02-26 17:46:45 +00:00
parent 9f2a3bcee7
commit 9d297641ee

View File

@ -51,6 +51,7 @@ static int sdr2_read_header(AVFormatContext *s)
st->codec->width = avio_rl32(s->pb);
st->codec->height = avio_rl32(s->pb);
st->codec->codec_id = AV_CODEC_ID_H264;
st->need_parsing = AVSTREAM_PARSE_FULL;
ast->codec->codec_type = AVMEDIA_TYPE_AUDIO;
ast->codec->channels = 1;