diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2005-08-11 15:02:37 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2005-08-11 15:02:37 +0000 |
commit | 8d2f24e71a976ca49c469e0fab28293c22e4e74d (patch) | |
tree | e53c38fa726853a469eebdbf2b2ef272d1940234 /ext/faac/gstfaac.c | |
parent | f7d36b17f1493f8649178aca4395e3e0d388fc66 (diff) | |
download | gst-plugins-bad-8d2f24e71a976ca49c469e0fab28293c22e4e74d.tar.gz gst-plugins-bad-8d2f24e71a976ca49c469e0fab28293c22e4e74d.tar.bz2 gst-plugins-bad-8d2f24e71a976ca49c469e0fab28293c22e4e74d.zip |
ext/jpeg/gstjpegdec.*: Fix crashes/invalid memory access for pictures that have a height that is not a multiple of 16...
Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_init), (gst_jpeg_dec_chain),
(gst_jpeg_dec_change_state):
* ext/jpeg/gstjpegdec.h:
Fix crashes/invalid memory access for pictures that have a height
that is not a multiple of 16 (or rather: v_samp_factor * DCTSIZE).
Also fix the state change function for downwards state changes
(need to chain up to parent before destroying our resources, to
make sure pads get deactivated and our chain function isn't
running and using those very same resources in another thread).
The jpeg line buffer only needs to be v_samp_factor*DCTSIZE lines
per plane, not picture_height lines; allocate that on the stack.
Diffstat (limited to 'ext/faac/gstfaac.c')
0 files changed, 0 insertions, 0 deletions