On date Wednesday 2011-06-29 14:46:34 -0700, Ronald S. Bultje encoded:
> Hi,
> 
> On Wed, Jun 29, 2011 at 2:41 PM, Diego Biurrun <di...@biurrun.de> wrote:
> > On Wed, Jun 29, 2011 at 02:13:16PM -0700, Ronald S. Bultje wrote:
[...]
> >> --- a/ffmpeg.c
> >> +++ b/ffmpeg.c
> >> @@ -1206,6 +1213,11 @@ static void do_video_out(AVFormatContext *s,
> >>          }
> >>          sws_scale(ost->img_resample_ctx, formatted_picture->data, 
> >> formatted_picture->linesize,
> >>                0, ost->resample_height, final_picture->data, 
> >> final_picture->linesize);
> >> +#else
> >> +        av_log(NULL, AV_LOG_ERROR,
> >> +               "Image resampling needed, please compile with swscale\n");
> >> +        exit(1);
> >> +#endif
> >
> > Hmmm, well, that's why we require swscale for ffmpeg - what is the
> > grand plan here?  Does ffmpeg actually get used without swscale?
> 
> As said, it's not ultra-functional but still does some things.

+1, think of embedded systems with very limited memory resources and
very specific uses, 100KB of memory footprint less can save you the
day.
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to