mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02: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