summaryrefslogtreecommitdiff
path: root/libavformat/mpeg.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-04-15 13:51:57 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-04-15 13:51:57 +0000
commit57004ff1d71d8a592cf8d3a268526c4e10ebe976 (patch)
tree9f8cabeb4f34375206dfdc8973a321e3b0e716f7 /libavformat/mpeg.c
parentcefd4907e37112bc1f7ec5e0f0f2f7247ecf8150 (diff)
add an enum for need_parsing
Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r--libavformat/mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index 40a7a259f2..07763c7c2d 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -1690,7 +1690,7 @@ static int mpegps_read_packet(AVFormatContext *s,
st->codec->codec_type = type;
st->codec->codec_id = codec_id;
if (codec_id != CODEC_ID_PCM_S16BE)
- st->need_parsing = 1;
+ st->need_parsing = AVSTREAM_PARSE_FULL;
found:
if(st->discard >= AVDISCARD_ALL)
goto skip;