[FFmpeg-devel] [PATCH] 8088flex TMV demuxer and decoder

Kostya kostya.shishkov
Thu Apr 23 06:03:27 CEST 2009


On Wed, Apr 22, 2009 at 05:51:01PM -0500, Daniel Verkamp wrote:
> On Wed, Apr 22, 2009 at 4:18 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Wed, Apr 22, 2009 at 02:33:42PM -0500, Daniel Verkamp wrote:
> >
> > [...]
> >> +static av_cold int tmv_decode_init(AVCodecContext *avctx)
> >> +{
> >> + ? ?TMVContext *tmv = avctx->priv_data;
> >> +
> >> + ? ?tmv->pic.data[0] = NULL;
> >> +
> >> + ? ?return 0;
> >> +}
> >
> > seems useless
> >
> 
> Right, priv_data is zeroed already - removed.  This was boilerplate
> stuff copied from zmbv.c; it could probably be removed from there as
> well.

Well, I have copied it from elsewhere, probably from some old Mike decoder.
 
> > [...]
> > --
> > Michael ? ? GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> 
> Thanks,
> -- Daniel Verkamp



More information about the ffmpeg-devel mailing list