[FFmpeg-cvslog] r18351 - in trunk/libavcodec: 4xm.c 8bps.c 8svx.c aac.c aasc.c ac3dec.c adpcm.c adxdec.c alac.c apedec.c asv1.c atrac3.c avcodec.h avs.c bethsoftvideo.c bfi.c bmp.c c93.c cavsdec.c cinepak.c cljr.c...

Ronald S. Bultje rsbultje
Tue Apr 7 20:11:59 CEST 2009


Hi,

On Tue, Apr 7, 2009 at 12:42 PM, Vitor Sessak <vitor1001 at gmail.com> wrote:
> It looks like this commit broke VP6 decoding. See for example the following
> FATE result: http://fate.multimedia.cx/index.php?build_record=71480

Se attached patch, apparently the decoder wasn't converted. Not sure
why gmake seektest didn't pick that up, shouldn't it test that for all
decoders?

Ronald
-------------- next part --------------
Index: libavcodec/vp56.c
===================================================================
--- libavcodec/vp56.c	(revision 18349)
+++ libavcodec/vp56.c	(working copy)
@@ -495,8 +495,10 @@
 }
 
 int vp56_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
-                      const uint8_t *buf, int buf_size)
+                      AVPacket *avpkt)
 {
+    const uint8_t *buf = avpkt->data;
+    int buf_size = avpkt->size;
     VP56Context *s = avctx->priv_data;
     AVFrame *const p = s->framep[VP56_FRAME_CURRENT];
     int remaining_buf_size = buf_size;
Index: libavcodec/vp56.h
===================================================================
--- libavcodec/vp56.h	(revision 18349)
+++ libavcodec/vp56.h	(working copy)
@@ -172,7 +172,7 @@
 int vp56_free(AVCodecContext *avctx);
 void vp56_init_dequant(VP56Context *s, int quantizer);
 int vp56_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
-                      const uint8_t *buf, int buf_size);
+                      AVPacket *avpkt);
 
 
 /**



More information about the ffmpeg-cvslog mailing list