avcodec/extract_extradata_bsf: use the parsing code from mpeg4video_split()
authorJames Almer <jamrial@gmail.com>
Fri, 24 Mar 2017 21:27:37 +0000 (18:27 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 26 Mar 2017 01:38:13 +0000 (22:38 -0300)
commitb53ac2a5283da595b5f5c7f685c5102dc3ed50ca
tree74c86c6181aa2efebc69ff72aae08af195adf76a
parent173fdc4dea1351a8de5e04a324ad7f0fcb1563ea
avcodec/extract_extradata_bsf: use the parsing code from mpeg4video_split()

It's a simplifaction of the same code, originally commited as 3b5ad8fbf77.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/extract_extradata_bsf.c