[FFmpeg-cvslog] Use correct context for av_log.

Carl Eugen Hoyos git at videolan.org
Thu Dec 1 00:28:58 CET 2011


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Thu Dec  1 00:28:46 2011 +0100| [9dcd8b86f9d5d484c0772480bd12220212922b91] | committer: Carl Eugen Hoyos

Use correct context for av_log.

Fixes ticket #695.

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

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

diff --git a/libavcodec/pictordec.c b/libavcodec/pictordec.c
index 436b96d..b7d354b 100644
--- a/libavcodec/pictordec.c
+++ b/libavcodec/pictordec.c
@@ -230,7 +230,7 @@ static int decode_frame(AVCodecContext *avctx,
             }
         }
     } else {
-        av_log_ask_for_sample(s, "uncompressed image\n");
+        av_log_ask_for_sample(avctx, "uncompressed image\n");
         return buf_size;
     }
 



More information about the ffmpeg-cvslog mailing list