mkv: Correctly report the latest packet had been flushed

Bug-Id: 865
CC: libav-stable@libav.org
This commit is contained in:
Luca Barbato 2015-06-09 10:47:11 +02:00
parent b380337020
commit b14086ca38

View File

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