[FFmpeg-cvslog] r14196 - trunk/libavformat/mpeg.c
michael
subversion
Sun Jul 13 00:17:14 CEST 2008
Author: michael
Date: Sun Jul 13 00:17:13 2008
New Revision: 14196
Log:
Use CODEC_ID_PROBE when the mpeg-ps demuxer does not know exactly which
video codec is used.
Fixes issue49 Departed Trailer.evo (mpeg ps missdetecting h264 as mpeg2video)
Modified:
trunk/libavformat/mpeg.c
Modified: trunk/libavformat/mpeg.c
==============================================================================
--- trunk/libavformat/mpeg.c (original)
+++ trunk/libavformat/mpeg.c Sun Jul 13 00:17:13 2008
@@ -459,7 +459,7 @@ static int mpegps_read_packet(AVFormatCo
if(!memcmp(buf, avs_seqh, 4) && (buf[6] != 0 || buf[7] != 1))
codec_id = CODEC_ID_CAVS;
else
- codec_id = CODEC_ID_MPEG2VIDEO;
+ codec_id = CODEC_ID_PROBE;
type = CODEC_TYPE_VIDEO;
} else if (startcode >= 0x1c0 && startcode <= 0x1df) {
type = CODEC_TYPE_AUDIO;
More information about the ffmpeg-cvslog
mailing list