avformat/sdr2: h264 stream needs parsing
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
9f2a3bcee7
commit
9d297641ee
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue