comparison asv1.c @ 6788:e1302edb0f69 libavcodec

Replace some occurrences of -1 with PIX_FMT_NONE. Fixes icc warning #188: enumerated type mixed with another type
author cehoyos
date Sun, 11 May 2008 22:28:43 +0000
parents a4104482ceef
children 8decc970f9c8
comparison
equal deleted inserted replaced
6787:d24da66bec76 6788:e1302edb0f69
637 CODEC_ID_ASV1, 637 CODEC_ID_ASV1,
638 sizeof(ASV1Context), 638 sizeof(ASV1Context),
639 encode_init, 639 encode_init,
640 encode_frame, 640 encode_frame,
641 //encode_end, 641 //encode_end,
642 .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1}, 642 .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
643 .long_name= "ASUS V1", 643 .long_name= "ASUS V1",
644 }; 644 };
645 645
646 AVCodec asv2_encoder = { 646 AVCodec asv2_encoder = {
647 "asv2", 647 "asv2",
649 CODEC_ID_ASV2, 649 CODEC_ID_ASV2,
650 sizeof(ASV1Context), 650 sizeof(ASV1Context),
651 encode_init, 651 encode_init,
652 encode_frame, 652 encode_frame,
653 //encode_end, 653 //encode_end,
654 .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1}, 654 .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
655 .long_name= "ASUS V2", 655 .long_name= "ASUS V2",
656 }; 656 };
657 657
658 #endif //CONFIG_ENCODERS 658 #endif //CONFIG_ENCODERS