Commit d756b2b5 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/ljpegenc: Dont use ff_mjpeg_encode_stuffing()

This avoids a use of MpegEncContext
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 978ae13f
......@@ -211,7 +211,7 @@ static int encode_picture_lossless(AVCodecContext *avctx, AVPacket *pkt,
emms_c();
av_assert0(s->esc_pos == s->header_bits >> 3);
ff_mjpeg_encode_stuffing(s);
ff_mjpeg_escape_FF(&s->pb, s->esc_pos);
ff_mjpeg_encode_picture_trailer(&s->pb, s->header_bits);
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