avcodec/h264_metadata_bsf: Fix for the incorrect user data with hyphens
authorLimin Wang <lance.lmwang@gmail.com>
Tue, 7 Jan 2020 05:03:52 +0000 (13:03 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 8 Jan 2020 00:35:13 +0000 (01:35 +0100)
commitdce2e0657eaa66f82527ab833853cc1da99097ca
tree4a8dfb8f2598f01725c219ba67e24903f38793fa
parent3def315c5c3baa26c4f6b7ac4622aa8a3bfb46f8
avcodec/h264_metadata_bsf: Fix for the incorrect user data with hyphens

How to reproduce:
./ffmpeg -f lavfi -i testsrc -c:v libx264 -g 25 -bsf:v h264_metadata=sei_user_data=186f3693-b7b3-4f2c-9653-21492feee5b8+hello -frames:v 1 h264.mp4

master:
[Parsed_showinfo_0 @ 0x7fc8a0703180] UUID=186f3693-7030-4f2c-6030-21492feee5b8
[Parsed_showinfo_0 @ 0x7fc8a0703180] User Data=hello

Applied the patch:
[Parsed_showinfo_0 @ 0x7f969d408e00] UUID=186f3693-b7b3-4f2c-9653-21492feee5b8
[Parsed_showinfo_0 @ 0x7f969d408e00] User Data=hello

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h264_metadata_bsf.c