[FFmpeg-trac] #5527(avfilter:open): Delogo crash with x=0 and/or y=0

FFmpeg trac at avcodec.org
Tue May 10 13:53:53 CEST 2016


#5527: Delogo crash with x=0 and/or y=0
-------------------------------------+-------------------------------------
             Reporter:  easyfab      |                    Owner:  khali
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:  delogo       |               Blocked By:
  crash fpe regression               |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by khali):

 This isn't really a regression, given that you can get the exact same
 crash by passing option band=1 to the old code. Just like you can avoid
 the crash with the new code by passing option band=4. Simply the change in
 default made the bug more visible.

 Additionally, even if you manage to avoid the crash, x=0 and/or y=0 will
 never give good results as the filter needs samples all around the logo
 area for interpolation.

 Incidentally I wrote a patch to catch exactly this problem many months
 ago. No idea why I did not push it... I'll attach it shortly, please
 review and/or test.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5527#comment:12>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list