h265_parse: skip zero sized NAL units
authorHendrik Leppkes <h.leppkes@gmail.com>
Sat, 7 May 2016 14:28:39 +0000 (16:28 +0200)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Sat, 7 May 2016 20:14:23 +0000 (21:14 +0100)
commitd46e85635070fd2c4cd7cd4b97720e5868c1bfc1
tree9cfcd22dad33bfe2f77b9726c72d38b40f2ee7d1
parentd6f92103e0f6696923a42f2c1fdc9fe4b877e7b8
h265_parse: skip zero sized NAL units

Avoids extra error checks later on and/or invalid reads.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/h2645_parse.c