Browse Source

avformat/sdr2: h264 stream needs parsing

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.2-rc1
Paul B Mahol 11 years ago
parent
commit
9d297641ee
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/sdr2.c

+ 1
- 0
libavformat/sdr2.c 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;


Loading…
Cancel
Save