examples/encode_video: allocate the packet dynamically
authorAnton Khirnov <anton@khirnov.net>
Thu, 20 Oct 2016 09:03:20 +0000 (11:03 +0200)
committerAnton Khirnov <anton@khirnov.net>
Wed, 23 Nov 2016 12:10:22 +0000 (13:10 +0100)
commit59ab9e8ba1df7e3347a4cd2bd56c32e74aede802
tree1584c03380a092ce24959632d7d8a91e8fa1554a
parent5f102a9559099429826e84758b8b5182244c52db
examples/encode_video: allocate the packet dynamically

AVPackets on stack are discouraged.
doc/examples/encode_video.c