mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-10 12:09:53 +00:00
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> |
||
|---|---|---|
| .. | ||
| avconv.c | ||
| avconv.h | ||
| avconv_filter.c | ||
| avconv_hw.c | ||
| avconv_opt.c | ||
| avconv_qsv.c | ||
| avconv_vda.c | ||
| avplay.c | ||
| avprobe.c | ||
| cmdutils.c | ||
| cmdutils.h | ||
| Makefile | ||