webdashenc: replace unchecked av_malloc with stack allocation
authorVignesh Venkatasubramanian <vigneshv@google.com>
Tue, 14 Apr 2015 17:54:23 +0000 (10:54 -0700)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 14 Apr 2015 18:48:30 +0000 (20:48 +0200)
commit30e2f87d2eac8f7d932698b344b32617c05e73f4
tree4ab11eb91486997a1dd7f427b27d70d100e02e03
parentee69229dd806709a51b70184640c2f298cd99d2b
webdashenc: replace unchecked av_malloc with stack allocation

Replace an unchecked av_malloc call with stack allocation as the size
is always a constant.

Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/webmdashenc.c