lavc/utils: disallow zero sized packets with data set in avcodec_send_packet
authorMarton Balint <cus@passwd.hu>
Fri, 30 Sep 2016 08:58:19 +0000 (10:58 +0200)
committerMarton Balint <cus@passwd.hu>
Mon, 3 Oct 2016 19:15:26 +0000 (21:15 +0200)
commit2face3e7b568daf70f3115126b81d5793301569c
tree4a48c6542de74e027131fa0d7bc83e0076a1f39e
parentf4e692a0e90b4301b4bc21d163cfc6420cbab7b6
lavc/utils: disallow zero sized packets with data set in avcodec_send_packet

Reviewed-by: wm4 <nfxjfg@googlemail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
libavcodec/utils.c