mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-16 04:11:12 +00:00
mjpegenc: fix argument size in encode_mb
CC: libav-stable@libav.org Bug-Id: CID 1047235
This commit is contained in:
parent
f349f4b550
commit
db71c4926d
@ -136,7 +136,7 @@ static void encode_block(MpegEncContext *s, int16_t *block, int n)
|
|||||||
put_bits(&s->pb, huff_size_ac[0], huff_code_ac[0]);
|
put_bits(&s->pb, huff_size_ac[0], huff_code_ac[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ff_mjpeg_encode_mb(MpegEncContext *s, int16_t block[6][64])
|
void ff_mjpeg_encode_mb(MpegEncContext *s, int16_t block[8][64])
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
for(i=0;i<5;i++) {
|
for(i=0;i<5;i++) {
|
||||||
|
@ -51,6 +51,6 @@ typedef struct MJpegContext {
|
|||||||
|
|
||||||
int ff_mjpeg_encode_init(MpegEncContext *s);
|
int ff_mjpeg_encode_init(MpegEncContext *s);
|
||||||
void ff_mjpeg_encode_close(MpegEncContext *s);
|
void ff_mjpeg_encode_close(MpegEncContext *s);
|
||||||
void ff_mjpeg_encode_mb(MpegEncContext *s, int16_t block[6][64]);
|
void ff_mjpeg_encode_mb(MpegEncContext *s, int16_t block[8][64]);
|
||||||
|
|
||||||
#endif /* AVCODEC_MJPEGENC_H */
|
#endif /* AVCODEC_MJPEGENC_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user