1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

- Bug fix MPEG-2 decoder to handle "repeat_first_field" (Telecine)

- Hack in MPEG-2 demux to cope with buggy VOBs.

Originally committed as revision 333 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Juanjo
2002-03-16 02:41:00 +00:00
parent 4278e7a6f5
commit 1cb0edb40b
3 changed files with 33 additions and 6 deletions

View File

@@ -473,9 +473,13 @@ static int mpeg_mux_read_header(AVFormatContext *s,
know that this codec will be used */
type = CODEC_TYPE_AUDIO;
codec_id = CODEC_ID_AC3;
/* XXX: Another hack for DVD: it seems, that AC3 streams
aren't signaled on audio_bound on some DVDs (Matrix) */
if (audio_bound == 0)
audio_bound++;
n = audio_bound;
c = 0x80;
/* c = 0x1c0; */
//c = 0x1c0;
} else if (c == 0xb9) {
/* all video streams */
type = CODEC_TYPE_VIDEO;