• Aurélien Nephtali's avatar
    Fix crash when transcoding from mpeg2 · 17948de9
    Aurélien Nephtali authored
    The attached patch fixes transcoding from mpeg2 with last VLC from git.
    
    jupiter@~/vlc> ./vlc file.ts --sout
    '#transcode{vcodec=mp4v}:std{access=file,mux=ts,dst=/dev/null}' -I
    dummy
    [...]
    [0x212d9c0] libmpeg2 decoder debug: 720x576 (display 720,576), aspect
    768000, sar 64:45, 25.000 fps
    [0x212d9c0] main decoder warning: can't get output picture
    [0x212d9c0] libmpeg2 decoder warning: invalid picture encountered
    [0x212d9c0] main decoder warning: can't get output picture
    zsh: segmentation fault  ./vlc file.ts --sout  -I dummy
    Signed-off-by: default avatarRémi Denis-Courmont <rdenis@simphalempin.com>
    17948de9
transcode.c 82.7 KB