From 934982c4ace1a3d5d627b518782ed092a456c49e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer <michaelni@gmx.at> Date: Sun, 23 Jan 2005 18:09:06 +0000 Subject: avoid buf_size == 0 checks in every decoder Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/avcodec.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libavcodec/avcodec.h') diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 8cf6500ca3..503a04e083 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -338,7 +338,10 @@ extern int motion_estimation_method; #define CODEC_CAP_TRUNCATED 0x0008 /* codec can export data for HW decoding (XvMC) */ #define CODEC_CAP_HWACCEL 0x0010 -/** codec has a non zero delay and needs to be feeded with NULL at the end to get the delayed data */ +/** + * codec has a non zero delay and needs to be feeded with NULL at the end to get the delayed data. + * if this is not set, the codec is guranteed to never be feeded with NULL data + */ #define CODEC_CAP_DELAY 0x0020 //the following defines might change, so dont expect compatibility if u use them -- cgit v1.2.3