]> git.sesse.net Git - ffmpeg/commit
hevc: eliminate the second call to hls_nal_unit()
authorAnton Khirnov <anton@khirnov.net>
Thu, 9 Jul 2015 16:11:44 +0000 (18:11 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sun, 12 Jul 2015 16:15:39 +0000 (18:15 +0200)
commitae05b4865514fd71b5e9431e93aa0d03d7ba7751
tree7f8f603e547d85f5f198172dc835041c563782b6
parentd7bebe4805193783f0b6f292f9127a75709fb7d9
hevc: eliminate the second call to hls_nal_unit()

Also, make hls_nal_unit() work only on the provided NAL unit, without
requiring a whole decoding context.

This will allow splitting this code for reuse by the parser.
libavcodec/hevc.c
libavcodec/hevc.h