Recherche avancée

Médias (91)

Sur d’autres sites (111)

  • avfilter/asrc_flite : Remove double ' ;'

    7 octobre 2021, par Andreas Rheinhardt
    avfilter/asrc_flite : Remove double ' ;'
    

    (Inside a function a stray ' ;' is an empty statement ; outside of
    a function it is actually invalid, but compilers happen to accept
    it without complaint (unless e.g. using -pedantic).)

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavfilter/asrc_flite.c
  • avfilter/asrc_flite : Don't define an object by accident

    7 août 2021, par Andreas Rheinhardt
    avfilter/asrc_flite : Don't define an object by accident
    

    The flite filter apparently only wanted to declare a struct,
    but mistakenly also defined an unused and zero-initialized element
    with external linkage.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavfilter/asrc_flite.c
  • avfilter/asrc_sine : Fix invalid left shift of negative number

    22 janvier 2020, par Andreas Rheinhardt
    avfilter/asrc_sine : Fix invalid left shift of negative number
    

    by using a multiplication instead. The multiplication can never overflow
    an int because the sin-factor is only an int16_t.

    Affected the FATE-tests filter-concat and filter-concat-vfr.

    Reviewed-by : Nicolas George <george@nsup.org>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavfilter/asrc_sine.c