avcodecmap: Don't allocate dummy codec data anymore, it causes crashes nowadays
authorSebastian Dröge <sebastian@centricular.com>
Sat, 3 Oct 2015 17:25:35 +0000 (18:25 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 3 Oct 2015 17:25:35 +0000 (18:25 +0100)
commiteedefc9f6bd19f1c86b43d1fcc31a203b4ecea10
tree42a5919a6e5587c280b75839a5d06d58d04dbf3b
parente5e78379ad8287cd2b71b4cdb743e905c8cd0369
avcodecmap: Don't allocate dummy codec data anymore, it causes crashes nowadays

Multithreaded encoders are going to free this dummy codec data twice, e.g.
with this pipeline
  gst-launch-1.0 videotestsrc num-buffers=40 ! \
    videoconvert ! avenc_mjpeg ! fakesink
ext/libav/gstavcodecmap.c