• Matt Oliver's avatar
    avformat/mux: Fix error when writing uncoded frames. · b66ac803
    Matt Oliver authored
    commit "avpacket: Deprecate av_dup_packet" broke the use
    av_interleaved_write_uncoded_frame as any input uncoded frame has an
    invalid packet size that will crash when av_packet_ref tries to allocate
    'size' new memory. Since the packet is a temporary created within mux.c
    itself it can be used directly without needing a new ref.
    Signed-off-by: 's avatarMatt Oliver <protogonoi@gmail.com>
    b66ac803
mux.c 40.8 KB