[FFmpeg-devel] [PATCH 1/2] ffplay: use AVSubtitleRect.data instead of .pict.data
Hendrik Leppkes
h.leppkes at gmail.com
Fri Oct 23 21:33:49 CEST 2015
On Fri, Oct 23, 2015 at 8:44 PM, Marton Balint <cus at passwd.hu> wrote:
> Current code segfaults since the deprecation of AVSubtitleRect.pict because it
> frees/reallocs AVSubtitleRect.pict.data by itself.
>
Patch looks fine, however I'm curious about this - does ffplay free
data that was allocated by avcodec, and is supposed to be free'ed by
avcodec? That seems rather risky API usage wise.
- Hendrik
More information about the ffmpeg-devel
mailing list