[FFmpeg-devel] [PATCH]lavf/vplayerdec: Stricter probing

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jul 12 15:01:25 EEST 2016


Clément Bœsch <u <at> pkh.me> writes:

> > A user provided a rawvideo frame that is detected as vplayer 
> > without attached patch.
> 
> can you show a hex dump of the first few bytes?

0000000 3530 3530 3530 3530 3530 3530 3530 3530
*
00000f0 3530 3530 3530 3530 3530 3531 3532 3533
0000100 3534 3535 3536 3537 3537 3537 3537 3537
0000110 3537 3537 3537 3537 3537 3537 3537 3537
*
0000130 3537 3537 3537 3537 3537 3537 3538 3538
0000140 3539 3539 353a 353a 353a 353a 353a 353a
0000150 353a 353a 353a 353a 353a 353a 353a 353a
*
0000170 353a 353a 353a 353a 353a 353b 353b 353c
0000180 353e 3540 3543 3548 354c 354f 3553 3556
0000190 355a 355d 3560 3564 3567 356b 356e 3572
00001a0 3575 3579 357c 3580 3583 3586 358a 358d
00001b0 3591 3594 3598 359b 359f 35a4 35a8 35a9
00001c0 35ad 35af 35b2 35b7 35bb 35be 35c2 35c5
00001d0 35c9 35cc 35d0 35d3 35d7 35da 35de 35e1
00001e0 35e5 35e8 35ec 35ef 35f3 35f6 35fa 35fd
00001f0 3601 3604 3608 360b 360f 3613 3615 3616
0000200 3616 3616 3616 3616 3616 3616 3616 3616
*

[...]

> potentially simpler alternative: if you replace the original formats with
> "%*3d:%*2d:%*2d.%*2d%c" and "%*3d:%*2d:%*2d%c", does it work?

Please commit this, it looks simpler to me.

Thank you, Carl Eugen


More information about the ffmpeg-devel mailing list