diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-12-06 11:56:16 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-12-06 12:01:28 +0100 |
commit | d756b2b530ca742ac930ca6e9d1ba86ec8af86c9 (patch) | |
tree | 5b9b3c0bf80d5e293171187e93ef0991eee3719d /libavcodec/ljpegenc.c | |
parent | 978ae13f2337f2f5bf4a6f5313dfe3404a79ea54 (diff) | |
download | ffmpeg-d756b2b530ca742ac930ca6e9d1ba86ec8af86c9.tar.gz |
avcodec/ljpegenc: Dont use ff_mjpeg_encode_stuffing()
This avoids a use of MpegEncContext
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ljpegenc.c')
-rw-r--r-- | libavcodec/ljpegenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ljpegenc.c b/libavcodec/ljpegenc.c index 7e536a88df..99fee70aec 100644 --- a/libavcodec/ljpegenc.c +++ b/libavcodec/ljpegenc.c @@ -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++; |