Recherche avancée

Médias (0)

Mot : - Tags -/médias

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (91)

Sur d’autres sites (16689)

  • Fix read-after-free in matroska_read_seek().

    6 novembre 2014, par Xiaohan Wang
    Fix read-after-free in matroska_read_seek().
    

    In matroska_read_seek(), |tracks| is assigned at the begining of the function.
    However, functions like matroska_parse_cues() could reallocate the tracks so
    that |tracks| can get invalidated.

    This CL assigns |tracks| only before we use it so that it won’t be invalidated.

    BUG=427266
    TEST=Test case in associated bug passes now.

    Change-Id : I9c7065fe8f4311ca846076281df2282d190ed344

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/matroskadec.c
  • fftools/ffmpeg_mux_init : Free pts on error

    27 avril 2024, par Michael Niedermayer
    fftools/ffmpeg_mux_init : Free pts on error
    

    Fixes : CID1538863 Resource leak

    Sponsored-by : Sovereign Tech Fund
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] fftools/ffmpeg_mux_init.c
  • wmavoice : free frame before ff_get_buffer

    11 novembre 2017, par Timo Rothenpieler
    wmavoice : free frame before ff_get_buffer
    

    synth_superframe can be called twice per call to decode_packet.
    It is not fully clear if calling ff_get_buffer on the same frame twice
    is supported, so unref the frame first to be save.

    • [DH] libavcodec/wmavoice.c