[Bug 792596] v4l2: fix division by 0 for complex video formats

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jan 17 14:10:55 UTC 2018


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

Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #366921|none                        |reviewed
             status|                            |

--- Comment #4 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Review of attachment 366921:
 --> (https://bugzilla.gnome.org/review?bug=792596&attachment=366921)

I would suggest to add a warning in the else case. Protecting against this
crash is great, whenever such format get added, we'll probably want to add per
format code to compute the padded width. It is unused in v4l2src atm though,
but will be I think when we fix the importation.

-- 
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