examples/encode_video: use the AVFrame API for allocating the frame
authorAnton Khirnov <anton@khirnov.net>
Thu, 20 Oct 2016 09:03:20 +0000 (11:03 +0200)
committerAnton Khirnov <anton@khirnov.net>
Wed, 2 Nov 2016 09:20:01 +0000 (10:20 +0100)
commit5b4d7ac7ae5d821cfa6ab89f8eab4d31851ef32c
treede6b2a010f67a72c2d3abfdb89b1672b0f3d52db
parentd0a603a534a0ee4b255e5e72742428a7f7f42b83
examples/encode_video: use the AVFrame API for allocating the frame

It is more efficient and so preferred over allocating the buffers
manually.
doc/examples/encode_video.c