Commit 7a70dd59 authored by michaelni's avatar michaelni

mpeg1 + trellis quant segfault fix


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2346 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 361cc449
...@@ -789,7 +789,9 @@ void ff_mpeg1_encode_init(MpegEncContext *s) ...@@ -789,7 +789,9 @@ void ff_mpeg1_encode_init(MpegEncContext *s)
s->max_qcoeff= 2047; s->max_qcoeff= 2047;
} }
s->intra_ac_vlc_length= 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) static inline void encode_dc(MpegEncContext *s, int diff, int component)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment