avformat/sdr2: h264 stream needs parsing

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/56/merge
Paul B Mahol 11 years ago
parent 9f2a3bcee7
commit 9d297641ee
  1. 1
      libavformat/sdr2.c

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

Loading…
Cancel
Save