mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/mjpegenc_common: Don't flush unnecessarily
The PutBitContext has already been flushed a few lines above and nothing has been written to it in the meantime. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
33a96b600b
commit
4486ff9242
|
@ -423,7 +423,6 @@ void ff_mjpeg_escape_FF(PutBitContext *pb, int start)
|
|||
|
||||
if(ff_count==0) return;
|
||||
|
||||
flush_put_bits(pb);
|
||||
skip_put_bytes(pb, ff_count);
|
||||
|
||||
for(i=size-1; ff_count; i--){
|
||||
|
|
Loading…
Reference in New Issue