diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-11-29 20:49:18 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-12-09 08:54:29 +0100 |
commit | 37a749012aaacc801fe860428417a6d7b81c103f (patch) | |
tree | 2836c24eb98b2d6caa63dfb5b7e28fd5ff749c19 /libavcodec/sonic.c | |
parent | df7aba52b51007db50410abe15fe28391abd8757 (diff) | |
download | ffmpeg-37a749012aaacc801fe860428417a6d7b81c103f.tar.gz |
lavc: rework handling of refcounted_frames=0
Use only proper AVFrame API (no assigning of whole frames, since that
hardcodes sizeof(AVFrame) into lavc).
Make a copy of the side data, so the caller can use av_frame_unref/free
on non-refcounted frames, eliminating the need for
avcodec_get_frame_defaults()/avcodec_free_frame().
Diffstat (limited to 'libavcodec/sonic.c')
0 files changed, 0 insertions, 0 deletions