Fix misdetection of H.264 in mpegts as mpeg1video in mpegts.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 27 Jul 2008 23:06:22 +0000 (23:06 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 27 Jul 2008 23:06:22 +0000 (23:06 +0000)
Fixes maybeH264_dumpstream

Originally committed as revision 14445 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mpegts.c

index 5067f77..a437cce 100644 (file)
@@ -970,7 +970,7 @@ static AVStream* new_pes_av_stream(PESContext *pes, uint32_t code)
             codec_id = CODEC_ID_AC3;
         } else {
             codec_type = CODEC_TYPE_VIDEO;
-            codec_id = CODEC_ID_MPEG1VIDEO;
+            codec_id = CODEC_ID_PROBE;
         }
         break;
     }