Commit 705d1d92 authored by lorenm's avatar lorenm

r3938 broke 2pass huffyuv (not that anyone uses it)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9054 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0a4d5810
......@@ -1309,11 +1309,11 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size,
snprintf(p, end-p, "\n");
p++;
}
}
} else
avctx->stats_out[0] = '\0';
if(!(s->avctx->flags2 & CODEC_FLAG2_NO_OUTPUT)){
flush_put_bits(&s->pb);
s->dsp.bswap_buf((uint32_t*)buf, (uint32_t*)buf, size);
avctx->stats_out[0] = '\0';
}
s->picture_number++;
......
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