mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-21 23:10:13 +00:00
mkv: Correctly report the latest packet had been flushed
Bug-Id: 865 CC: libav-stable@libav.org
This commit is contained in:
parent
b380337020
commit
b14086ca38
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user