Commit b14086ca authored by Luca Barbato's avatar Luca Barbato

mkv: Correctly report the latest packet had been flushed

Bug-Id: 865
CC: libav-stable@libav.org
parent b3803370
...@@ -1630,7 +1630,7 @@ static int mkv_write_flush_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment