[Bug 793419] pnm: seg fault with non power of 4 strides in pnmenc

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Feb 13 14:13:47 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=793419

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #368304|none                        |accepted-commit_now
             status|                            |

--- Comment #2 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 368304:
 --> (https://bugzilla.gnome.org/review?bug=793419&attachment=368304)

::: gst/pnm/gstpnmenc.c
@@ +266,3 @@
       o_rowstride = pnmenc->info.width;
     }
+    i_rowstride = GST_VIDEO_FRAME_PLANE_STRIDE (&in_frame, 0);

How did this ever work? :) input_state is a GstVideoCodecState*, not a
GstVideoFrame*!

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list