diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-06-06 00:52:28 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-06-07 13:20:57 +0200 |
commit | f8ea0eb6ff5719a3ff2a60454dd0a2b07aa6dbe2 (patch) | |
tree | 49756c4f355269e0007054a548acd13e1f8d356f | |
parent | d7cf5639e727b454896e7d7d8da2abcd4b631eac (diff) | |
download | ffmpeg-f8ea0eb6ff5719a3ff2a60454dd0a2b07aa6dbe2.tar.gz |
svq1dec: Fix debug statements that referenced non-existing context.
-rw-r--r-- | libavcodec/svq1dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c index fc36bc3489..2a80374569 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 */ |