diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-18 05:26:32 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-24 13:56:43 +0200 |
commit | a1ed984e049c90122e80bd60c2028f9bb22cc31c (patch) | |
tree | 539d72740c7246efd7cd89681317e6065d938cd4 /libavfilter/f_perms.c | |
parent | 878e45e0fb261bda452a9b049570d4e7d3f4fa6c (diff) | |
download | ffmpeg-a1ed984e049c90122e80bd60c2028f9bb22cc31c.tar.gz |
avcodec/avcodec: Actually honour the documentation of subtitle_header
It is only supposed to be freed by libavcodec for decoders, yet
avcodec_open2() always frees it on failure.
Furthermore, avcodec_close() doesn't free it for decoders.
Both of this has been changed.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/f_perms.c')
0 files changed, 0 insertions, 0 deletions