Commit f8ea0eb6 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

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

parent d7cf5639
...@@ -237,7 +237,7 @@ static int svq1_decode_block_intra (GetBitContext *bitbuf, uint8_t *pixels, int ...@@ -237,7 +237,7 @@ static int svq1_decode_block_intra (GetBitContext *bitbuf, uint8_t *pixels, int
} }
if ((stages > 0) && (level >= 4)) { if ((stages > 0) && (level >= 4)) {
av_dlog(s->avctx, av_dlog(NULL,
"Error (svq1_decode_block_intra): invalid vector: stages=%i level=%i\n", "Error (svq1_decode_block_intra): invalid vector: stages=%i level=%i\n",
stages, level); stages, level);
return -1; /* invalid vector */ return -1; /* invalid vector */
...@@ -287,7 +287,7 @@ static int svq1_decode_block_non_intra (GetBitContext *bitbuf, uint8_t *pixels, ...@@ -287,7 +287,7 @@ static int svq1_decode_block_non_intra (GetBitContext *bitbuf, uint8_t *pixels,
if (stages == -1) continue; /* skip vector */ if (stages == -1) continue; /* skip vector */
if ((stages > 0) && (level >= 4)) { 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", "Error (svq1_decode_block_non_intra): invalid vector: stages=%i level=%i\n",
stages, level); stages, level);
return -1; /* invalid vector */ return -1; /* invalid vector */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment