doc/examples: do not allocate AVFrame directly.
authorNicolas George <nicolas.george@normalesup.org>
Sat, 16 Feb 2013 10:36:32 +0000 (11:36 +0100)
committerNicolas George <nicolas.george@normalesup.org>
Sun, 17 Feb 2013 14:51:50 +0000 (15:51 +0100)
commitdcc73aaaa995eaa68db962d63c27eb38d8c46764
tree9ff88c0917e4c045ddd03114de30993d9786d44a
parent59e46ef63ab478b9ad46fc7aefc2937692afc807
doc/examples: do not allocate AVFrame directly.

The size of the AVFrame structure is not part of the ABI;
it can grow with later versions. Therefore, applications
are not supposed to allocate AVFrame directly, they are
supposed to use avcodec_alloc_frame() instead.
doc/examples/filtering_audio.c
doc/examples/filtering_video.c