GNOME Bugzilla – Bug 729614
PNM Encoder is Encoding 0 x 0 images
Last modified: 2014-05-08 13:00:35 UTC
Created attachment 275934 [details] [review] Fixed this issue by adding an error check. PNM Encoder continues to encode even if the width, height is zero. Encoded image has width, height as zero with the input buffer dumped into the image Fixed this issue by adding an error check. Attached is the Patch file, request to review.
Looks good to me. And tested.
Pushed: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=bfdc54395238c04fc6e5b51880c2d706f33e9011
commit e807ac077d24bbefb48bb88dd16cff714f5e0195 Author: Tim-Philipp Müller <tim@centricular.com> Date: Tue May 6 09:48:58 2014 +0100 pnmenc: fix flow return and buffer leak in not-negotiated case https://bugzilla.gnome.org/show_bug.cgi?id=729614
The following fix has been pushed: bf1997f pnmenc: remove empty line
Created attachment 275979 [details] [review] pnmenc: remove empty line Remove trailing empty line from commit bfdc54395238c04fc6e5b51880c2d706f33e9011
Created attachment 276155 [details] [review] pnmenc: Zero check to fields not required Zero check to fields not required. Removed it