summaryrefslogtreecommitdiff
path: root/libavformat/pva.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-05-27 06:58:22 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-05-27 06:58:22 +0000
commit6125d8659712d27dbc5459b54a84876981a7af3a (patch)
tree2002cd878c029dfe13a1ca38ac1cc410fca1ada3 /libavformat/pva.c
parent25178da3020bdbf6cb69de55e308e8fae6fc2e5c (diff)
technically mp2 in pva needs AVSTREAM_PARSE_FULL
Originally committed as revision 18966 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/pva.c')
-rw-r--r--libavformat/pva.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/pva.c b/libavformat/pva.c
index cafac18891..4255f8a71c 100644
--- a/libavformat/pva.c
+++ b/libavformat/pva.c
@@ -55,7 +55,7 @@ static int pva_read_header(AVFormatContext *s, AVFormatParameters *ap) {
return AVERROR(ENOMEM);
st->codec->codec_type = CODEC_TYPE_AUDIO;
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_add_index_entry(st, 0, 0, 0, 0, AVINDEX_KEYFRAME);