aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-09-06 22:30:16 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-09-06 22:30:16 +0000
commit14207b27b5ea61b33092f0d23286b03ed4bcd894 (patch)
tree70653f051cb8f1e0c42c8b064b73ff61d5c0b311 /libavcodec/avcodec.h
parentad4369076b5f905e80e7e2e1b01d5290ebd7beb6 (diff)
downloadffmpeg-14207b27b5ea61b33092f0d23286b03ed4bcd894.tar.gz
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 Originally committed as revision 909 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 619623bb74..96db4d9031 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -119,6 +119,7 @@ static const int Motion_Est_QTab[] = { ME_ZERO, ME_PHODS, ME_LOG,
#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 */