[FFmpeg-cvslog] r12300 - trunk/libavcodec/imgresample.c
Michael Niedermayer
michaelni
Mon Mar 3 21:39:50 CET 2008
On Mon, Mar 03, 2008 at 08:24:09PM +0000, M?ns Rullg?rd wrote:
> michael <subversion at mplayerhq.hu> writes:
>
> > Author: michael
> > Date: Mon Mar 3 20:53:27 2008
> > New Revision: 12300
> >
> > Log:
> > Provide non null class name to avoid crash.
> >
> > Modified:
> > trunk/libavcodec/imgresample.c
> >
> > Modified: trunk/libavcodec/imgresample.c
> > ==============================================================================
> > --- trunk/libavcodec/imgresample.c (original)
> > +++ trunk/libavcodec/imgresample.c Mon Mar 3 20:53:27 2008
> > @@ -512,6 +512,8 @@ void img_resample_close(ImgReSampleConte
> > av_free(s);
> > }
> >
> > +static const AVClass context_class = { "imgresample", NULL, NULL };
>
> Did you test this?
Of course i did test it, it avoids the "(null)" output from ffmpeg -h.
> It seems to be this would always crash at log.c:39
> calling avc->item_name(ptr), or did I miss something? The old version
> would have had the same problem.
Yes, thats a seperate issue though, and patch welcome.
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20080303/285a0216/attachment.pgp>
More information about the ffmpeg-cvslog
mailing list