summaryrefslogtreecommitdiff
path: root/libavformat/matroskaenc.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2015-06-09 10:47:11 +0200
committerLuca Barbato <lu_zero@gentoo.org>2015-06-09 14:27:54 +0200
commitb14086ca38efa1a86cb0f0c6aa147b05f698877b (patch)
tree2380b1b4f451fd46fcfb070f9bbce23be0daf619 /libavformat/matroskaenc.c
parentb380337020e271c5431aa8ef8f8e9dfda5e919b2 (diff)
mkv: Correctly report the latest packet had been flushed
Bug-Id: 865 CC: libav-stable@libav.org
Diffstat (limited to 'libavformat/matroskaenc.c')
-rw-r--r--libavformat/matroskaenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index 91c4459dad..b1c0020edd 100644
--- a/libavformat/matroskaenc.c
+++ b/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);
}