summaryrefslogtreecommitdiffstats
path: root/subopt-helper.h
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-04-29 07:32:57 +0200
committerwm4 <wm4@mplayer2.org>2012-04-29 10:01:55 +0200
commit4add4f708e14367833fb9f1308c0802fbe32a808 (patch)
tree8fb8eef1953017c1d432708ae6073c006020c1f2 /subopt-helper.h
parent97ac824124fc5cdfbd9ac74156b79c098bce09c6 (diff)
downloadmpv-4add4f708e14367833fb9f1308c0802fbe32a808.tar.bz2
mpv-4add4f708e14367833fb9f1308c0802fbe32a808.tar.xz
screenshot, vo_png: fix dependency on sizeof(AVFrame)
In order to stay binary compatible with libavcodec, applications should not dependent on sizeof(AVFrame). This means allocating AVFrame on the stack is not allowed, and the function avcodec_alloc_frame() must be used to allocate an AVFrame instead. Partially based on a patch by uau.
Diffstat (limited to 'subopt-helper.h')
0 files changed, 0 insertions, 0 deletions