mirror of https://git.ffmpeg.org/ffmpeg.git
removing PIX_FMT_ANY
Originally committed as revision 1373 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5fe061a027
commit
2bbf71777f
|
@ -60,7 +60,6 @@ enum CodecType {
|
|||
};
|
||||
|
||||
enum PixelFormat {
|
||||
PIX_FMT_ANY = -1,
|
||||
PIX_FMT_YUV420P,
|
||||
PIX_FMT_YUV422,
|
||||
PIX_FMT_RGB24,
|
||||
|
|
|
@ -720,8 +720,6 @@ int img_convert(AVPicture *dst, int dst_pix_fmt,
|
|||
{
|
||||
int i;
|
||||
|
||||
assert(pix_fmt != PIX_FMT_ANY && dst_pix_fmt != PIX_FMT_ANY);
|
||||
|
||||
if (dst_pix_fmt == pix_fmt) {
|
||||
switch(pix_fmt) {
|
||||
case PIX_FMT_YUV420P:
|
||||
|
|
Loading…
Reference in New Issue