Ticket #47189: FFMpegh_build_against_ffmpeg.diff
File FFMpegh_build_against_ffmpeg.diff, 1.5 KB (added by RJVB (René Bertin), 9 years ago) |
---|
-
src/FFmpeg.h
a b 685 685 (AVFormatContext *s, AVDictionary **options), 686 686 (s, options) 687 687 ); 688 #if defined(IS_FFMPEG_PROJECT) 689 FFMPEG_FUNCTION_WITH_RETURN( 690 AVOutputFormat*, 691 av_oformat_next, 692 (const AVOutputFormat *f), 693 (f) 694 ); 695 #else 688 696 FFMPEG_FUNCTION_WITH_RETURN( 689 697 AVOutputFormat*, 690 698 av_oformat_next, 691 699 (AVOutputFormat *f), 692 700 (f) 693 701 ); 702 #endif 694 703 FFMPEG_FUNCTION_WITH_RETURN( 695 704 AVCodec*, 696 705 av_codec_next, … … 752 761 (AVFifoBuffer *f), 753 762 (f) 754 763 ); 764 #if defined(IS_FFMPEG_PROJECT) 765 FFMPEG_FUNCTION_WITH_RETURN( 766 int, 767 av_fifo_size, 768 (const AVFifoBuffer *f), 769 (f) 770 ); 771 #else 755 772 FFMPEG_FUNCTION_WITH_RETURN( 756 773 int, 757 774 av_fifo_size, 758 775 (AVFifoBuffer *f), 759 776 (f) 760 777 ); 778 #endif 761 779 FFMPEG_FUNCTION_WITH_RETURN( 762 780 void*, 763 781 av_malloc, … … 798 816 (AVFifoBuffer *f, unsigned int size), 799 817 (f, size) 800 818 ); 819 #if defined(IS_FFMPEG_PROJECT) 820 FFMPEG_FUNCTION_WITH_RETURN( 821 AVDictionaryEntry *, 822 av_dict_get, 823 (const AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags), 824 (m, key, prev, flags) 825 ); 826 #else 801 827 FFMPEG_FUNCTION_WITH_RETURN( 802 828 AVDictionaryEntry *, 803 829 av_dict_get, 804 830 (AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags), 805 831 (m, key, prev, flags) 806 832 ); 833 #endif 807 834 FFMPEG_FUNCTION_WITH_RETURN( 808 835 int, 809 836 av_dict_set,