[FFmpeg-cvslog] r19356 - trunk/libavcodec/vp3.c
Reimar Döffinger
Reimar.Doeffinger
Mon Jul 6 12:29:28 CEST 2009
On Mon, Jul 06, 2009 at 10:43:13AM +0100, M?ns Rullg?rd wrote:
> reimar <subversion at mplayerhq.hu> writes:
>
> > Author: reimar
> > Date: Mon Jul 6 11:35:00 2009
> > New Revision: 19356
> >
> > Log:
> > 100l, theora_decode_init must pass on errors from vp3_decode_init
> >
> > Modified:
> > trunk/libavcodec/vp3.c
> >
> > Modified: trunk/libavcodec/vp3.c
> > ==============================================================================
> > --- trunk/libavcodec/vp3.c Mon Jul 6 11:22:39 2009 (r19355)
> > +++ trunk/libavcodec/vp3.c Mon Jul 6 11:35:00 2009 (r19356)
> > @@ -2291,6 +2291,7 @@ static av_cold int theora_decode_init(AV
> > uint8_t *header_start[3];
> > int header_len[3];
> > int i;
> > + int ret;
> >
> > s->theora = 1;
> >
> > @@ -2343,8 +2344,8 @@ static av_cold int theora_decode_init(AV
> > break;
> > }
> >
> > - vp3_decode_init(avctx);
> > - return 0;
> > + ret = vp3_decode_init(avctx);
> > + return ret;
> > }
>
> Why not simply
> return vp3_decode_init(avctx);
No idea what I've been thinking, changed.
More information about the ffmpeg-cvslog
mailing list