avformat/gif: abort early if nothing was written yet
authorPaul B Mahol <onemda@gmail.com>
Wed, 29 May 2019 08:57:18 +0000 (10:57 +0200)
committerPaul B Mahol <onemda@gmail.com>
Wed, 29 May 2019 08:57:18 +0000 (10:57 +0200)
commit02333fe394f0c15b1e8bbd3399316578ee8c2334
tree41f27d554d6356d9b689101dfb0b5b8bf3e1d0d8
parentd903c09d9a5c641223f0810d24161520e977544a
avformat/gif: abort early if nothing was written yet

Fixes crash when writting trailer without any previous packets.
libavformat/gif.c