mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
mpeg1 + trellis quant segfault fix
Originally committed as revision 2346 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8025405fcd
commit
e5021fffce
@ -789,7 +789,9 @@ void ff_mpeg1_encode_init(MpegEncContext *s)
|
||||
s->max_qcoeff= 2047;
|
||||
}
|
||||
s->intra_ac_vlc_length=
|
||||
s->inter_ac_vlc_length= uni_mpeg1_ac_vlc_len;
|
||||
s->inter_ac_vlc_length=
|
||||
s->intra_ac_vlc_last_length=
|
||||
s->inter_ac_vlc_last_length= uni_mpeg1_ac_vlc_len;
|
||||
}
|
||||
|
||||
static inline void encode_dc(MpegEncContext *s, int diff, int component)
|
||||
|
Loading…
Reference in New Issue
Block a user