FFmpeg/avtools
wm4 c011beda26 avconv: make sure packets put into the muxing FIFO are refcounted
Some callers (like do_subtitle_out(), or do_streamcopy()) call this
with an AVPacket that is not refcounted. This can cause undefined
behavior.

Calling av_packet_move_ref() does not make a packet refcounted if it
isn't yet. (And it can't be made to, because it always succeeds,
and can't return ENOMEM.)

Call av_packet_ref() instead to make sure it's refcounted.

Cc: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
2018-08-01 09:55:34 +03:00
..
avconv_filter.c avconv: Support setting the hardware device to use when filtering 2017-04-30 16:13:50 +01:00
avconv_hw.c avconv: Use codec hardware config to configure hwaccels 2017-12-19 23:24:59 +00:00
avconv_opt.c avconv: Use codec hardware config to configure hwaccels 2017-12-19 23:24:59 +00:00
avconv_qsv.c
avconv_vda.c
avconv.c avconv: make sure packets put into the muxing FIFO are refcounted 2018-08-01 09:55:34 +03:00
avconv.h avconv: Use codec hardware config to configure hwaccels 2017-12-19 23:24:59 +00:00
avplay.c avplay: Do not try to allocate new frames when the player is closing 2017-04-25 00:38:07 +02:00
avprobe.c avprobe: Print a user-friendly version of the display matrix 2018-04-09 16:50:03 +02:00
cmdutils.c cmdutils: update copyright year to 2018 2018-01-01 02:51:51 -05:00
cmdutils.h
Makefile dxva: add support for new dxva2 and d3d11 hwaccel APIs 2017-06-08 21:20:18 +02:00