Commit 919bf075 authored by bcoudurier's avatar bcoudurier

technically mp2 in pva needs AVSTREAM_PARSE_FULL

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18966 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6f7505d3
...@@ -55,7 +55,7 @@ static int pva_read_header(AVFormatContext *s, AVFormatParameters *ap) { ...@@ -55,7 +55,7 @@ static int pva_read_header(AVFormatContext *s, AVFormatParameters *ap) {
return AVERROR(ENOMEM); return AVERROR(ENOMEM);
st->codec->codec_type = CODEC_TYPE_AUDIO; st->codec->codec_type = CODEC_TYPE_AUDIO;
st->codec->codec_id = CODEC_ID_MP2; st->codec->codec_id = CODEC_ID_MP2;
st->need_parsing = AVSTREAM_PARSE_HEADERS; st->need_parsing = AVSTREAM_PARSE_FULL;
av_set_pts_info(st, 33, 1, 90000); av_set_pts_info(st, 33, 1, 90000);
av_add_index_entry(st, 0, 0, 0, 0, AVINDEX_KEYFRAME); av_add_index_entry(st, 0, 0, 0, 0, AVINDEX_KEYFRAME);
......
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