[FFmpeg-cvslog] svq1: Fix building with -DDEBUG

Martin Storsjö git at videolan.org
Thu Dec 13 12:16:40 CET 2012


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Wed Dec 12 11:27:03 2012 +0200| [48238fd00b22518158999a0aac5d620bc31dc8d7] | committer: Martin Storsjö

svq1: Fix building with -DDEBUG

Signed-off-by: Martin Storsjö <martin at martin.st>

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

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

diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c
index 25837f5..5156042 100644
--- a/libavcodec/svq1dec.c
+++ b/libavcodec/svq1dec.c
@@ -640,7 +640,7 @@ static int svq1_decode_frame(AVCodecContext *avctx, void *data,
     result = svq1_decode_frame_header(avctx, cur);
 
     if (result != 0) {
-        av_dlog(s->avctx, "Error in svq1_decode_frame_header %i\n", result);
+        av_dlog(avctx, "Error in svq1_decode_frame_header %i\n", result);
         return result;
     }
     avcodec_set_dimensions(avctx, s->width, s->height);
@@ -707,7 +707,7 @@ static int svq1_decode_frame(AVCodecContext *avctx, void *data,
                                                      previous, linesize,
                                                      pmv, x, y);
                     if (result != 0) {
-                        av_dlog(s->avctx,
+                        av_dlog(avctx,
                                 "Error in svq1_decode_delta_block %i\n",
                                 result);
                         goto err;



More information about the ffmpeg-cvslog mailing list