[Bug 792900] Update to ffmpeg 4.0 API

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 12 22:56:24 UTC 2018


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

--- Comment #39 from Mathieu Duponchelle <mduponchelle1 at gmail.com> ---
Created attachment 373036
  --> https://bugzilla.gnome.org/attachment.cgi?id=373036&action=edit
avviddec: fix invalid alignment calculations.

avcodec_align_dimensions2 uses context->pix_fmt to make its
calculations, we thus need to make sure it is adequately set
when calling it.

Fixes:

gst-launch-1.0 videotestsrc ! video/x-raw, width=1920, height=1080 \
! avenc_mpeg4 ! avdec_mpeg4 ! xvimagesink

This showed invalid writes under valgrind, then segfault.

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