diff options
author | wm4 <wm4@mplayer2.org> | 2012-04-29 07:32:57 +0200 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2012-04-29 10:01:55 +0200 |
commit | 4add4f708e14367833fb9f1308c0802fbe32a808 (patch) | |
tree | 8fb8eef1953017c1d432708ae6073c006020c1f2 /stream/asf_mmst_streaming.c | |
parent | 97ac824124fc5cdfbd9ac74156b79c098bce09c6 (diff) | |
download | mpv-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 'stream/asf_mmst_streaming.c')
0 files changed, 0 insertions, 0 deletions