You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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:
@@ -423,7 +423,6 @@ void ff_mjpeg_escape_FF(PutBitContext *pb, int start)
|
|||||||
|
|
||||||
if(ff_count==0) return;
|
if(ff_count==0) return;
|
||||||
|
|
||||||
flush_put_bits(pb);
|
|
||||||
skip_put_bytes(pb, ff_count);
|
skip_put_bytes(pb, ff_count);
|
||||||
|
|
||||||
for(i=size-1; ff_count; i--){
|
for(i=size-1; ff_count; i--){
|
||||||
|
Reference in New Issue
Block a user