mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 08:12:44 +00:00
mjpegenc: fix restart interval parameters for yuv444
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
28b85b1fff
commit
41bebda485
@ -137,7 +137,7 @@ static void jpeg_table_header(MpegEncContext *s)
|
||||
if(s->avctx->active_thread_type & FF_THREAD_SLICE){
|
||||
put_marker(p, DRI);
|
||||
put_bits(p, 16, 4);
|
||||
put_bits(p, 16, s->mb_width*2/s->mjpeg_hsample[0]);
|
||||
put_bits(p, 16, (s->width-1)/(8*s->mjpeg_hsample[0]) + 1);
|
||||
}
|
||||
|
||||
/* huffman table */
|
||||
|
Loading…
Reference in New Issue
Block a user