[FFmpeg-devel] [PATCH] avformat/bit: return early from write_packet if pkt->size is 0
andreas.cadhalpun at googlemail.com
Thu Feb 26 20:41:48 CET 2015
the bit format muxer currently segfaults, when it is passed a packet of size 0.
This can be triggered e.g. with:
ffmpeg -y -f lavfi -i sine=duration=0.1 -c:a flac -f bit /dev/null
Attached patch fixes this.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 797 bytes
Desc: not available
More information about the ffmpeg-devel