Mercurial > libavcodec.hg
diff avcodec.h @ 647:22b22723805e libavcodec
support decoding of the last mpeg "packet" even if no startcode is immedeatly afterwards (fixes bugs with mpeg in avi)
new behavior is only activated if CODEC_FLAG_NOT_TRUNCATED is set
author | michaelni |
---|---|
date | Fri, 06 Sep 2002 22:30:16 +0000 |
parents | 57b9a37546a0 |
children | c7647afc3ce5 |
line wrap: on
line diff
--- a/avcodec.h Thu Sep 05 13:23:11 2002 +0000 +++ b/avcodec.h Fri Sep 06 22:30:16 2002 +0000 @@ -119,6 +119,7 @@ #define CODEC_FLAG_GRAY 0x2000 /* only decode/encode grayscale */ #define CODEC_FLAG_EMU_EDGE 0x4000/* dont draw edges */ #define CODEC_FLAG_DR1 0x8000 /* dr1 */ +#define CODEC_FLAG_NOT_TRUNCATED 0x00010000 /* input bitstream is not truncated, except before a startcode */ /* codec capabilities */ /* decoder can use draw_horiz_band callback */