Commit 48238fd0 authored by Martin Storsjö's avatar Martin Storsjö

svq1: Fix building with -DDEBUG

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent c4182d72
...@@ -640,7 +640,7 @@ static int svq1_decode_frame(AVCodecContext *avctx, void *data, ...@@ -640,7 +640,7 @@ static int svq1_decode_frame(AVCodecContext *avctx, void *data,
result = svq1_decode_frame_header(avctx, cur); result = svq1_decode_frame_header(avctx, cur);
if (result != 0) { 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; return result;
} }
avcodec_set_dimensions(avctx, s->width, s->height); avcodec_set_dimensions(avctx, s->width, s->height);
...@@ -707,7 +707,7 @@ static int svq1_decode_frame(AVCodecContext *avctx, void *data, ...@@ -707,7 +707,7 @@ static int svq1_decode_frame(AVCodecContext *avctx, void *data,
previous, linesize, previous, linesize,
pmv, x, y); pmv, x, y);
if (result != 0) { if (result != 0) {
av_dlog(s->avctx, av_dlog(avctx,
"Error in svq1_decode_delta_block %i\n", "Error in svq1_decode_delta_block %i\n",
result); result);
goto err; goto err;
......
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