[FFmpeg-cvslog] r19356 - trunk/libavcodec/vp3.c

reimar subversion
Mon Jul 6 11:35:00 CEST 2009


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;
 }
 
 AVCodec theora_decoder = {



More information about the ffmpeg-cvslog mailing list