hevc: fix size condition in ptl parsing
authorHendrik Leppkes <h.leppkes@gmail.com>
Fri, 6 May 2016 17:09:04 +0000 (19:09 +0200)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Sat, 7 May 2016 20:10:59 +0000 (21:10 +0100)
commit6eb1b40ad869e011bb83a04c9c03a1001f75bf3f
tree53913471b16171e60ce9f87df833b53701093595
parent1bc83f6ea8ff35eae2113e7f21713d298c27ebd1
hevc: fix size condition in ptl parsing

When only one sublayer is present, no information is coded. Only when at least two
are present, all 8 sublayers are written.

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