avcodec/extract_extradata_bsf: use the parsing code from mpegvideo_split()
authorJames Almer <jamrial@gmail.com>
Fri, 24 Mar 2017 21:10:53 +0000 (18:10 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 26 Mar 2017 01:38:13 +0000 (22:38 -0300)
commitec996163c8dbacf39c1a3d490d0467299af9a0bd
treedeac0d0ca803e1ae44a413299f19c5a16ee3b32f
parentd054069c1540ff2c7fb8097b830ee852afad7021
avcodec/extract_extradata_bsf: use the parsing code from mpegvideo_split()

Changes to the parsing code originally committed to mpegvideo_parser.c
in 73fb23dc5a5.
Required by some samples, like PVA_test-partial.pva

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