avcodec/ttaenc: Reallocate packet if its too small
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 26 Apr 2016 17:17:19 +0000 (19:17 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 28 Apr 2016 01:47:13 +0000 (03:47 +0200)
commitd94d786bf06bc87c53305cfb9ffd13dce1ff58b1
tree2363e6eed4b03367b6ee98d4b991e18afbe6db39
parent3f69797e9b2f2d7060c5f7833479ab085bbca50f
avcodec/ttaenc: Reallocate packet if its too small

Fixes assertion failure
Fixes Ticket5394

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 005c61c6b8982f977e415aa69d2d2b42e6b7f3f2)

Conflicts:

libavcodec/ttaenc.c
libavcodec/ttaenc.c