lavc/hevc: Don't parse NAL unit for a dummy buffer
authorHaihao Xiang <haihao.xiang@intel.com>
Fri, 30 Mar 2018 02:42:32 +0000 (10:42 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 30 Sep 2018 18:08:21 +0000 (20:08 +0200)
commit4c14a25281bb496092e2a6f930e4f1f9e900514f
treeb7e98b0f9b9ef7cf4f112e81d931597b6c629638
parentb577153231ee050b04e29f3bb2ea72eca2431c60
lavc/hevc: Don't parse NAL unit for a dummy buffer

hevc parser mistakenly reports the following message if a dummy buffer
is padded for EOF

   [hevc @ 0x559b63848610] missing picture in access unit

Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
Reviewed-by: "Li, Zhong" <zhong.li@intel.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/hevc_parser.c