changeset 4968:72b7219c6337 libavformat

technically mp2 in pva needs AVSTREAM_PARSE_FULL
author bcoudurier
date Wed, 27 May 2009 06:58:22 +0000
parents 1d10f8b761b7
children 85e8512e7ec0
files pva.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pva.c	Wed May 27 01:29:55 2009 +0000
+++ b/pva.c	Wed May 27 06:58:22 2009 +0000
@@ -55,7 +55,7 @@
         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);