comparison pcm.c @ 7040:e943e1409077 libavcodec

Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
author stefano
date Thu, 12 Jun 2008 21:50:13 +0000
parents 1b9c458d6d60
children 54f8d960f15b
comparison
equal deleted inserted replaced
7039:b252326ba895 7040:e943e1409077
528 0, \ 528 0, \
529 pcm_encode_init, \ 529 pcm_encode_init, \
530 pcm_encode_frame, \ 530 pcm_encode_frame, \
531 pcm_encode_close, \ 531 pcm_encode_close, \
532 NULL, \ 532 NULL, \
533 .long_name = long_name_, \ 533 .long_name = NULL_IF_CONFIG_SMALL(long_name_), \
534 }; 534 };
535 #else 535 #else
536 #define PCM_ENCODER(id,name,long_name_) 536 #define PCM_ENCODER(id,name,long_name_)
537 #endif 537 #endif
538 538
545 sizeof(PCMDecode), \ 545 sizeof(PCMDecode), \
546 pcm_decode_init, \ 546 pcm_decode_init, \
547 NULL, \ 547 NULL, \
548 NULL, \ 548 NULL, \
549 pcm_decode_frame, \ 549 pcm_decode_frame, \
550 .long_name = long_name_, \ 550 .long_name = NULL_IF_CONFIG_SMALL(long_name_), \
551 }; 551 };
552 #else 552 #else
553 #define PCM_DECODER(id,name,long_name_) 553 #define PCM_DECODER(id,name,long_name_)
554 #endif 554 #endif
555 555