Mercurial > libavcodec.hg
diff avcodec.h @ 2453:f67b63ed036d libavcodec
avoid buf_size == 0 checks in every decoder
author | michael |
---|---|
date | Sun, 23 Jan 2005 18:09:06 +0000 |
parents | 96da66323faa |
children | dfdb6bf4b90f |
line wrap: on
line diff
--- a/avcodec.h Sun Jan 23 17:59:01 2005 +0000 +++ b/avcodec.h Sun Jan 23 18:09:06 2005 +0000 @@ -338,7 +338,10 @@ #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