Statistics
| Branch: | Revision:

ffmpeg / libavcodec / mpeg12.c @ 72415b2a

History | View | Annotate | Download (89.4 KB)

# Date Author Comment
72415b2a 03/30/2010 11:30 PM Stefano Sabatini

Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.

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

fc4a2d1e 03/23/2010 02:17 AM Michael Niedermayer

Change ref_index structure so it matches how its organized in h264.
Also revert the related error concealment hotfix.

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

53f66cee 03/15/2010 10:49 PM Michael Niedermayer

Add ff_ prefix for mpeg2_dc_scale_table.

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

acbb378d 02/21/2010 11:22 PM Michael Niedermayer

Fix timestamp association for mpeg2 field pictures.
Fixes /MPlayer/incoming/codec_copy_fails_vob_to_mpeg-ts/codec_copy_fails_vob_to_mpeg-ts.vob

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

b52fcba9 01/24/2010 10:47 PM Carl Eugen Hoyos

Fix decoding ATI VCR2 codec, sample in
samples/V-codecs/ATI-VCR12/ATI/VCR2test.avi
Software decoding was broken since r8865, when two new context variables
were added, but not initialized in vcr2_init_sequence().
Another such context variable was added in r18381....

7a14430e 12/12/2009 07:44 PM Michael Niedermayer

Be less picky on invalid frame_pred_frame_dct values.
Fixed issue1615.

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

6e4f40e1 12/05/2009 09:41 AM Carl Eugen Hoyos

Cosmetics: Reindent after r20679.

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

483aad71 12/01/2009 02:07 AM Michael Niedermayer

slif aka "SoftLab MPEG-2 I-frames Codec" support.
Flipping one bit still is popular it seems as a means to create a new codec.
fixes issue1469.

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

52069c4d 11/30/2009 11:08 PM Michael Niedermayer

Move "slice below image" check from mpeg_decode_slice to its caller.
Should fix issue1277.

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

d52b4abe 11/30/2009 09:22 PM Michael Niedermayer

Move dummy picture allocation code from mpeg1/2 to mpegvideo.
This fixes a infinite loop on a b frame.

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

078cdecf 11/30/2009 07:14 PM Michael Niedermayer

Set mb_y in mpeg2 field pictures like h264 does.
This fixes -vismv & -debug 16384 with field pictures.

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

ab8c48de 11/30/2009 03:32 AM Michael Niedermayer

Start decoding from seq/gop too, not just I frames.
Possibly fixes issue1124.

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

f0ec2394 11/30/2009 02:37 AM Michael Niedermayer

Fix dual prime motion compensation in field pictures.
Fixes issue1125.

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

aeaef4ed 11/29/2009 02:31 PM Michael Niedermayer

Print errors instead of just ignoring contradictionary values in mpeg2 silently.

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

87f68060 11/29/2009 03:32 AM Michael Niedermayer

Override a few values read so as to ensure that things are not inconsistent.

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

d9b99556 11/29/2009 03:05 AM Michael Niedermayer

Restructure dummy frame allocation.
New code also allocates a dummy frame for an p field after an i field,
previously that could segfault due to reading from NULL+x.

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

9d130166 11/29/2009 01:50 AM Michael Niedermayer

Make sure field_select is not set to nonsensical values even if unused.
Fixed an assert failure.

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

1c326093 11/28/2009 11:17 PM Michael Niedermayer

Factorize "s->first_slice = 1" out.

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

88eba670 11/28/2009 11:05 PM Michael Niedermayer

Also check the location of the picture start code and picture coding
extension a little.

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

fc23d843 11/28/2009 10:51 PM Michael Niedermayer

Check order of startcodes, ignore some obviously wrong ones.
Fixes issue487.

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

bbf266fd 11/28/2009 09:32 PM Michael Niedermayer

Move mpeg_decode_postinit() out of bitstream decoding functions, it does not
belong in there.

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

1206f1d6 11/28/2009 06:57 PM Michael Niedermayer

Inline mpeg_decode_extension, will simplify future changes.

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

191ad11e 11/28/2009 02:17 PM Michael Niedermayer

Simplify mpeg_decode_user_data()

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

6e44ba15 11/16/2009 05:42 PM Ronald S. Bultje

Use get_bits_left() instead of size_in_bits - get_bits_count().

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

01418506 10/06/2009 06:33 AM Reimar Döffinger

Remove casts that are useless since the argument is void *.

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

25450bb2 09/16/2009 07:49 AM Gwenole Beauchesne

Move down HWAccel code path so that to fill in s->mb_x first.

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

6be8b204 07/01/2009 08:35 PM Baptiste Coudurier

Revert r19317, "simplify slice_end, return size of output frame".
It returns non decodable B-frames.

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

f7f1eb6c 07/01/2009 05:29 PM Baptiste Coudurier

simplify slice_end, return size of output frame

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

a4a750d3 05/27/2009 07:55 PM Baptiste Coudurier

Rename alloc_picture to ff_alloc_picture and move its definition
in mpegvideo.h to avoid including mpegvideo_common.h in mpeg12.c,
because it contains motion code.

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

ed1dc74e 05/27/2009 12:14 AM Wolfram Gloger

Fix off by one offset with fetch_timestamps, pts_parser_problem.mpg.
Patch by Wolfram Gloger, wmglo at dentm dot med dot uni-muenchen dot de.

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

936bb4a9 05/17/2009 09:09 AM Reimar Döffinger

Add a forward declaration of mpeg1_decode_block_intra to fix compilation
broken by r18859 for e.g. all gcc 4 compilers.

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

db2f2093 05/17/2009 12:54 AM Måns Rullgård

mpeg12: fix non-standard use of "extern inline"

Rename ff_mpeg1_decode_block_intra to mpeg1_decode_block_intra and
make it static. Add ff_mpeg1_decode_block_intra as plain extern
function calling mpeg1_decode_block_intra.

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

9d9a6239 05/15/2009 05:39 AM Baptiste Coudurier

decode mpeg-2 closed gop first b frames, fix issue #824

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

580a7465 05/11/2009 04:34 AM David Conrad

Add a chroma_sample_location field to define positioning of chroma samples

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

9c24cd72 05/05/2009 07:53 PM Michael Niedermayer

Extract colorspace fields from MPEG1/2.

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

71412781 05/01/2009 12:31 PM Michael Niedermayer

Ignore first entry of intra matrixes if it is invalid.
Fixes pink.mpg / issue1046.

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

45ccc61a 05/01/2009 12:17 PM Michael Niedermayer

Factorize quantization matrix loading code out.

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

0127b861 04/08/2009 08:48 PM Michael Niedermayer

Fix mb_height for interlaced mpeg2.
This correctly fixes issue961, thanks to steven warren for spotting my mistake.

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

7a00bbad 04/07/2009 03:59 PM Thilo Borgmann

Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames....

a4c7a5ea 03/02/2009 02:53 PM Michael Niedermayer

Call ff_fetch_timestamp() for mpeg1/2 when a picture start code is found instead
of calling it at the end of a frame with a large negative offset.
This significantly reduces the maximal distance in container packets between
the point where the first byte of the "access unit" was stored and where...

326b554c 03/02/2009 05:20 AM Diego Biurrun

xvmc works with MPEG-2 as well as MPEG-1, note this in the codec long_name.

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

d819b41b 03/01/2009 09:14 AM Reimar Döffinger

Remove unused variable in mpeg_mc_decode_init

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

6aca2c67 02/27/2009 08:20 AM Gwenole Beauchesne

Remove superfluous call to mpeg_decode_slice() for hwaccel, this
function already contains the needed code.
Patch by Gwenole Beauchesne.

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

3797c74b 02/26/2009 11:47 PM Michael Niedermayer

Add ticks_per_frame, this should hopefully fix the regressions caused
by the time_base change.

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

765e94ef 02/25/2009 07:16 PM Michael Niedermayer

More AVhwaccel hunks from Gwenole Beauchesne.

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

edbd72ac 02/24/2009 08:23 PM Ivan Schreter

Correct time_base and repeat_pict for MPEG2 video.

Patch by Ivan Schreter, schreter gmx net

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

a05aa821 02/24/2009 07:04 PM Michael Niedermayer

add ff_find_hwaccel() by Gwenole Beauchesne

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

c269cf68 02/23/2009 01:35 PM Michael Niedermayer

Approved hunks for VAAPI / our new shiny hwaccel API
by Gwenole Beauchesne gbeauchesne splitted desktop com

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

21effaa4 02/22/2009 09:02 AM Ivan Kalvachev

Change the type of pblocks from pointers to short array into
pointers to array of 64 DCTELEM, similarly to other block fields.
This also get rid of some casts and fixes a warning.

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

4acfdcab 02/14/2009 11:01 PM Ivan Kalvachev

Cosmetics

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

ce0e60a1 02/14/2009 10:59 PM Ivan Kalvachev

Merge preprocessor if CONFIG_MPEG_XVMC_DECODER and code if( &&)
where possible

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

9e494ab7 02/14/2009 10:46 PM Ivan Kalvachev

Check ff_xvmc_field_start() result in all cases.

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

4440bd0d 02/14/2009 08:37 PM Diego Biurrun

Add xvmc_internal.h that contains all internal xvmc function declarations.
This allows getting rid of a bunch of ugly forward declarations.

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

78f9a878 02/14/2009 06:25 PM Ivan Kalvachev

use ff_xvmc for function names instead of XVMC_

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

fc2dd7e3 02/14/2009 03:37 PM Diego Biurrun

Remove redundant CONFIG_XVMC option, CONFIG_MPEG_XVMC_DECODER suffices.

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

44ba8b65 02/05/2009 07:59 AM Peter Ross

don't assume quant_matrix0==8 in ff_mpeg1_decode_block_intra(). this is required for the Electronic Arts TQI decoder.

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

50240e56 02/05/2009 07:57 AM Peter Ross

convert mpeg1_decode_block_intra() to inline global

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

bad5537e 02/01/2009 02:00 AM Diego Biurrun

Use full internal pathname in doxygen @file directives.
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.

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

406792e7 01/19/2009 03:46 PM Diego Biurrun

cosmetics: Remove pointless period after copyright statement non-sentences.

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

2bb6eba2 01/17/2009 12:21 PM Aurelien Jacobs

remove ff_get_fourcc() and use AV_RL32() instead

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

2b324225 01/16/2009 04:50 PM Carl Eugen Hoyos

Add mpeg1_vdpau decoder.

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

e7edb2ea 01/16/2009 02:50 AM Carl Eugen Hoyos

12l: Fix compilation with --disable-vdpau.

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

d37edddc 01/16/2009 02:14 AM NVIDIA Corporation

Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which can
be used by video players.

Original patch by NVIDIA corporation.

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

b250f9c6 01/13/2009 11:44 PM Aurelien Jacobs

Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

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

062e7c3c 01/13/2009 09:13 PM Michael Niedermayer

Avoid using sub_id in mpeg1/2video.

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

448ecb68 01/06/2009 06:58 PM Carl Eugen Hoyos

Rename mpeg_set_pixelformat() as mpeg_get_pixelformat().

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

93c69a94 01/06/2009 03:16 PM Carl Eugen Hoyos

Factorise setting of avctx->pix_fmt.

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

b24298ba 12/15/2008 10:22 PM Diego Biurrun

Switch xvmc over to a CONFIG_ option.

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

9686df2b 12/03/2008 03:23 PM Diego Biurrun

Delete unnecessary 'extern' keywords.

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

3a84713a 11/12/2008 05:47 PM Roman Shaposhnik

Making it easier to send arbitrary structures as work orders to MT workers

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

ed16f91f 09/28/2008 11:19 PM Michael Niedermayer

Guess picture type from picture coding extension when the main header is damaged.

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

047599a4 09/08/2008 06:18 PM Michael Niedermayer

Rename error_resilience to error_recognition.

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

395206f6 09/03/2008 07:04 PM Michael Niedermayer

Ignore the spec, and calculate aspect ratio on width/height.
Fixes issue562 and issue621.

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

8ee552f6 08/26/2008 11:25 PM Baptiste Coudurier

simplify mpeg12 avctx->pix_fmt set

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

071083b4 08/20/2008 05:05 PM Diego Biurrun

Rename ff_init_vlcs function to the more descriptive name ff_mpeg12_init_vlcs.
Now that it is exported, this should avoid confusion and name clashes.

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

054480a5 08/20/2008 04:59 PM Diego Biurrun

cosmetics: comment spelling/grammar fixes

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

0da49fca 08/19/2008 08:52 PM Diego Biurrun

Untangle mpeg12.c and mdec.c so that mdec.c can be compiled separately.

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

6ec87fbd 08/19/2008 08:55 AM Diego Biurrun

Mark init_vlcs function as av_cold.

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

fe4bf374 06/12/2008 09:50 PM Stefano Sabatini

Make AVCodec long_names definition conditional depending on CONFIG_SMALL.

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

ce8f4fb3 06/02/2008 07:04 PM Baptiste Coudurier

print correct mpeg-2 broken_link value, and print closed_gop

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

2d80ce2b 05/30/2008 09:06 PM Michael Niedermayer

Change init_2d_vlc_rl() to not use *alloc_static().

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

9ef3193d 05/30/2008 08:06 PM Michael Niedermayer

Remove constant argument.

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

f76605e8 05/30/2008 08:02 PM Michael Niedermayer

Switch to INIT_VLC_USE_NEW_STATIC.
Note, if code you maintain still uses INIT_VLC_USE_STATIC please change
it as well! Iam not volunteering to clean all codecs up ...

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

16e30b7a 05/25/2008 01:31 PM Michael Niedermayer

Do not reject odd width/height.
Fixes issue371.

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

eacced45 05/11/2008 10:28 PM Carl Eugen Hoyos

Replace some occurrences of -1 with PIX_FMT_NONE.
Fixes icc warning #188: enumerated type mixed with another type

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

6140271f 04/29/2008 07:24 AM Stefano Sabatini

Add some long names to AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

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

9b7ca3b7 04/03/2008 06:28 PM Michael Niedermayer

Decode stuff from extradata as well.

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

7f8ef975 04/03/2008 06:25 PM Michael Niedermayer

Factorize code a little.

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

98a6fff9 03/21/2008 03:11 AM Zuxy Meng

Apply 'cold' attribute to init/uninit functions in libavcodec

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

b2c26e27 03/14/2008 01:19 PM Diego Biurrun

Use correct t printf modifier for pointer differences.

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

99c763d1 03/14/2008 09:33 AM Baptiste Coudurier

log aspect ratio forbidden value, and fail if error resilience is high

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

a2338352 03/13/2008 06:26 PM Baptiste Coudurier

do not fail badly if aspect ratio is 0/forbidden, fix issue 369

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

9701840b 03/09/2008 11:31 PM Aurelien Jacobs

add FF_ prefix to all (frame)_TYPE usage

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

21da962c 02/20/2008 07:45 PM Michael Niedermayer

Make find_frame_end() merge 2 mpeg2 field pictures. This should make mpeg2
field pictures much more digestable.

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

05218081 02/19/2008 03:55 PM Michael Niedermayer

Reduce the number of senselessly scanned bytes.

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

e68c7a4a 02/01/2008 03:34 AM Michael Niedermayer

const

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

9bd005bd 01/05/2008 01:14 AM Michael Niedermayer

Drop non key frames before the first key frame.

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

b8a9dfb7 10/13/2007 01:34 AM Stefan Lucke

Prevent infinite loop when buffer holds SEQ_END_CODE only. Fix for r9870
Patch by Stefan Lucke <stefan <at> lucke.in-berlin.de>
Subject: API breakage by r9870
Date: 2007-10-05 11:06:47 GMT
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/57467

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

4e2b9bcc 08/04/2007 11:01 AM Michael Niedermayer

Make MPEG-1/2 decoder work with the libmpeg2-style bitstream reader.

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

392b7482 08/02/2007 08:49 PM Michael Niedermayer

output last frame if seq end code is encountered
fixes video decoding of AC3TEST.vob
closes issue19

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