avcodec/hevc_parser: use ff_h2645_packet_split() to parse NAL units
authorJames Almer <jamrial@gmail.com>
Sun, 30 Apr 2017 16:48:22 +0000 (13:48 -0300)
committerJames Almer <jamrial@gmail.com>
Fri, 5 May 2017 20:30:36 +0000 (17:30 -0300)
commitceb085906623dcc64b82151d433d1be2b0c71f73
tree0a36bbfc858ae788a2d67394be51257878f86bac
parent4aaace8b25a905195076f87ee0d70bea0022df7a
avcodec/hevc_parser: use ff_h2645_packet_split() to parse NAL units

This simplifies the code considerably.

Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Reviewed-by: Aaron Levinson <alevinsn@aracnet.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/hevc_parser.c