mkv: Correctly report the latest packet had been flushed

Bug-Id: 865
CC: libav-stable@libav.org
pull/147/head
Luca Barbato 10 years ago
parent b380337020
commit b14086ca38
  1. 2
      libavformat/matroskaenc.c

@ -1630,7 +1630,7 @@ static int mkv_write_flush_packet(AVFormatContext *s, AVPacket *pkt)
mkv_flush_dynbuf(s);
avio_flush(s->pb);
}
return 0;
return 1;
}
return mkv_write_packet(s, pkt);
}

Loading…
Cancel
Save