mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
Block a user