comparison mpegts.c @ 3604:8017c6d153a3 libavformat

Fix misdetection of H.264 in mpegts as mpeg1video in mpegts. Fixes maybeH264_dumpstream
author michael
date Sun, 27 Jul 2008 23:06:22 +0000
parents f306b45cab7e
children 2ca19db359bd
comparison
equal deleted inserted replaced
3603:255a1b73b4e3 3604:8017c6d153a3
968 } else if (code == 0x1bd) { 968 } else if (code == 0x1bd) {
969 codec_type = CODEC_TYPE_AUDIO; 969 codec_type = CODEC_TYPE_AUDIO;
970 codec_id = CODEC_ID_AC3; 970 codec_id = CODEC_ID_AC3;
971 } else { 971 } else {
972 codec_type = CODEC_TYPE_VIDEO; 972 codec_type = CODEC_TYPE_VIDEO;
973 codec_id = CODEC_ID_MPEG1VIDEO; 973 codec_id = CODEC_ID_PROBE;
974 } 974 }
975 break; 975 break;
976 } 976 }
977 st = av_new_stream(pes->stream, pes->pid); 977 st = av_new_stream(pes->stream, pes->pid);
978 if (st) { 978 if (st) {