avcodec/hevcdec: remove duplicate extradata parsing function
authorJames Almer <jamrial@gmail.com>
Sun, 2 Apr 2017 18:41:10 +0000 (15:41 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 9 Apr 2017 17:09:05 +0000 (14:09 -0300)
commit4588063f3ecd9c97ebf61e7791be9978176cdb2b
tree60fa2cfa00e228fed174292e2dbc019ee9e2dcfa
parent498e9e8e2a67e022c189f44fa33350b4f4a7979b
avcodec/hevcdec: remove duplicate extradata parsing function

Use ff_hevc_decode_extradata() instead, which correctly only tries
to decode parameter set NAL units and not any other NAL that may be
present in extradata.

Reviewed-by: nevcairiel
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/hevcdec.c
libavcodec/hevcdec.h