[FFmpeg-cvslog] svq1dec: Fix debug statements that referenced non-existing context.

Diego Biurrun git at videolan.org
Wed Jun 8 05:31:30 CEST 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Jun  6 00:52:28 2011 +0200| [f8ea0eb6ff5719a3ff2a60454dd0a2b07aa6dbe2] | committer: Diego Biurrun

svq1dec: Fix debug statements that referenced non-existing context.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f8ea0eb6ff5719a3ff2a60454dd0a2b07aa6dbe2
---

 libavcodec/svq1dec.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c
index fc36bc3..2a80374 100644
--- a/libavcodec/svq1dec.c
+++ b/libavcodec/svq1dec.c
@@ -237,7 +237,7 @@ static int svq1_decode_block_intra (GetBitContext *bitbuf, uint8_t *pixels, int
     }
 
     if ((stages > 0) && (level >= 4)) {
-      av_dlog(s->avctx,
+      av_dlog(NULL,
               "Error (svq1_decode_block_intra): invalid vector: stages=%i level=%i\n",
               stages, level);
       return -1;        /* invalid vector */
@@ -287,7 +287,7 @@ static int svq1_decode_block_non_intra (GetBitContext *bitbuf, uint8_t *pixels,
     if (stages == -1) continue; /* skip vector */
 
     if ((stages > 0) && (level >= 4)) {
-      av_dlog(s->avctx,
+      av_dlog(NULL,
               "Error (svq1_decode_block_non_intra): invalid vector: stages=%i level=%i\n",
               stages, level);
       return -1;        /* invalid vector */



More information about the ffmpeg-cvslog mailing list