[FFmpeg-devel] [PATCH]Fix compilation with --disable-filter=buffer
Måns Rullgård
mans
Sat May 22 14:07:02 CEST 2010
Carl Eugen Hoyos <cehoyos at ag.or.at> writes:
> Hi!
>
> A few unusual configure options lead to a link failure with ffmpeg_g:
> LD ffmpeg_g
> ffmpeg.o: In function `output_packet':
> ffmpeg.c:1657: undefined reference to `av_vsrc_buffer_add_frame'
>
> Please comment, Carl Eugen
>
> Index: ffmpeg.c
> ===================================================================
> --- ffmpeg.c (revision 23210)
> +++ ffmpeg.c (working copy)
> @@ -1651,14 +1651,14 @@
> &buffer_to_free);
> }
>
> -#if CONFIG_AVFILTER
> - if (ist->st->codec->codec_type == AVMEDIA_TYPE_VIDEO && ist->input_video_filter) {
> + if (ist->st->codec->codec_type == AVMEDIA_TYPE_VIDEO &&
> + ist->input_video_filter &&
> + CONFIG_BUFFER_FILTER) {
> // add it to be filtered
> av_vsrc_buffer_add_frame(ist->input_video_filter, &picture,
> ist->pts,
> ist->st->codec->sample_aspect_ratio);
> }
> -#endif
Does it work at all like this? I tried something similar (don't
remember exactly what), and it died in horrible ways.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list