summaryrefslogtreecommitdiff
path: root/libavcodec/ac3dec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-11-29 20:49:18 +0100
committerAnton Khirnov <anton@khirnov.net>2013-12-09 08:54:29 +0100
commit37a749012aaacc801fe860428417a6d7b81c103f (patch)
tree2836c24eb98b2d6caa63dfb5b7e28fd5ff749c19 /libavcodec/ac3dec.c
parentdf7aba52b51007db50410abe15fe28391abd8757 (diff)
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/ac3dec.c')
0 files changed, 0 insertions, 0 deletions