[FFmpeg-devel] [PATCH 4/5] startcode: Don't return false positives

2019-06-09 Thread Andreas Rheinhardt
Until now the function ff_startcode_find_candidate_c did not really search for startcodes (the startcode 0x00 0x00 0x01 (used in MPEG-1/2/4, VC-1 and H.264/5) is the only startcode meant here). Instead it searched for zero bytes and returned the earliest position of a zero byte. This of course led

Re: [FFmpeg-devel] [PATCH 4/5] startcode: Don't return false positives

2019-06-04 Thread Michael Niedermayer
On Mon, Jun 03, 2019 at 10:59:00PM +, Andreas Rheinhardt wrote: > Michael Niedermayer: > > On Sun, Jun 02, 2019 at 12:47:18AM +0200, Andreas Rheinhardt wrote: > >> Until now the function ff_startcode_find_candidate_c did not really > >> search for startcodes (the startcode 0x00 0x00 0x01 (used

Re: [FFmpeg-devel] [PATCH 4/5] startcode: Don't return false positives

2019-06-03 Thread Andreas Rheinhardt
Michael Niedermayer: > On Sun, Jun 02, 2019 at 12:47:18AM +0200, Andreas Rheinhardt wrote: >> Until now the function ff_startcode_find_candidate_c did not really >> search for startcodes (the startcode 0x00 0x00 0x01 (used in >> MPEG-1/2/4, VC-1 and H.264/5) is the only startcode meant here). Inste

Re: [FFmpeg-devel] [PATCH 4/5] startcode: Don't return false positives

2019-06-03 Thread Michael Niedermayer
On Sun, Jun 02, 2019 at 12:47:18AM +0200, Andreas Rheinhardt wrote: > Until now the function ff_startcode_find_candidate_c did not really > search for startcodes (the startcode 0x00 0x00 0x01 (used in > MPEG-1/2/4, VC-1 and H.264/5) is the only startcode meant here). Instead > it searched for zero

[FFmpeg-devel] [PATCH 4/5] startcode: Don't return false positives

2019-06-01 Thread Andreas Rheinhardt
Until now the function ff_startcode_find_candidate_c did not really search for startcodes (the startcode 0x00 0x00 0x01 (used in MPEG-1/2/4, VC-1 and H.264/5) is the only startcode meant here). Instead it searched for zero bytes and returned the earliest position of a zero byte. This of course led