]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/nutenc.c
Motion Pixels MVI Demuxer.
[ffmpeg] / libavformat / nutenc.c
index 78e678f0fa4c9ab44cd6f96b1bc3ec09e62092e7..06f53298d4c44f13f23b9b36cd807ba284bc5372 100644 (file)
@@ -650,6 +650,9 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt){
     int store_sp=0;
     int ret;
 
+    if(pkt->pts < 0)
+        return -1;
+
     if(1LL<<(20+3*nut->header_count) <= url_ftell(bc))
         write_headers(nut, bc);