]> git.sesse.net Git - vlc/commit
avcodec: don't guess size when encoding video
authorTristan Matthews <le.businessman@gmail.com>
Fri, 4 Jul 2014 13:34:57 +0000 (09:34 -0400)
committerTristan Matthews <le.businessman@gmail.com>
Sat, 5 Jul 2014 13:37:41 +0000 (09:37 -0400)
commit03cf55c6f56d9f9d27e46dfea07f15714e4c416c
treec2c22929bfe72776e67e96282367cb44401d4274
parent5624a0fcf27da305d9547db6d717b5197ef9214c
avcodec: don't guess size when encoding video

Instead, let avcodec_encode_video2 allocate the buffer, then
wrap it in a block_t.

Fixes #11605
modules/codec/avcodec/encoder.c