Fix misdetection of H.264 in mpegts as mpeg1video in mpegts.

Fixes maybeH264_dumpstream

Originally committed as revision 14445 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 17 years ago
parent b26d320583
commit 452a398fd6
  1. 2
      libavformat/mpegts.c

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

Loading…
Cancel
Save