mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
r3938 broke 2pass huffyuv (not that anyone uses it)
Originally committed as revision 9054 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
038bfcf9d6
commit
390f9f3127
@ -1309,11 +1309,11 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size,
|
|||||||
snprintf(p, end-p, "\n");
|
snprintf(p, end-p, "\n");
|
||||||
p++;
|
p++;
|
||||||
}
|
}
|
||||||
}
|
} else
|
||||||
|
avctx->stats_out[0] = '\0';
|
||||||
if(!(s->avctx->flags2 & CODEC_FLAG2_NO_OUTPUT)){
|
if(!(s->avctx->flags2 & CODEC_FLAG2_NO_OUTPUT)){
|
||||||
flush_put_bits(&s->pb);
|
flush_put_bits(&s->pb);
|
||||||
s->dsp.bswap_buf((uint32_t*)buf, (uint32_t*)buf, size);
|
s->dsp.bswap_buf((uint32_t*)buf, (uint32_t*)buf, size);
|
||||||
avctx->stats_out[0] = '\0';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
s->picture_number++;
|
s->picture_number++;
|
||||||
|
Loading…
Reference in New Issue
Block a user