[FFmpeg-devel] ffmpeg.c/cmdutils.c compilation
Benoit Fouet
benoit.fouet
Tue Jun 26 15:19:42 CEST 2007
Ronald S. Bultje wrote:
> Hi,
>
> On 6/26/07, Benoit Fouet <benoit.fouet at purplelabs.com> wrote:
>
>> Ronald S. Bultje wrote:
>>
>>> It's kind of weird though that ffmpeg.c would make assumptions on the
>>> structure internals in the swscontext, it implies something else fishy
>>>
>> is
>>
>>> going on also.
>>>
>> indeed
>> the FIXME in av_find_opt seems quite right :)
>>
>
>
> If you put a AVClass on top of SwsContext in libavcodec/imgresample.c (an
> empty AVClass, i.e. no options, should do the trick already - you could also
> make one that describes ImgReSampleContext, but since that's deprecated I
> wouldn't waste my time on it). I think that's the only reason it crashes...
>
>
patch for this hack attached...
Michael, is it ok to apply ?
Ben
--
Purple Labs S.A.
www.purplelabs.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: imgresample.c.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070626/41706cb1/attachment.asc>
More information about the ffmpeg-devel
mailing list