svq1: Fix building with -DDEBUG

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2012-12-12 11:27:03 +02:00
parent c4182d72c9
commit 48238fd00b

View File

@ -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,
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;