• Janne Grunau's avatar
    mpegvideo: synchronize AVFrame pointers in ERContext fully · 0ddc53da
    Janne Grunau authored
    Since error resilience uses AVFrame pointers instead of references it
    has to copy NULL pointers too. After a codec flush the last/next frame
    pointers in MpegEncContext are NULL and the old pointers remaining in
    ERContext are invalid. Fixes a crash in vlc for android thumbnailer.
    Reported and debugged by Adrien Maglo <magsoft@videolan.org>.
    0ddc53da
mpegvideo.c 84.6 KB