From ec26a167ee4835d237c0d6700df9a661e38994c4 Mon Sep 17 00:00:00 2001 From: Roman Shaposhnik Date: Wed, 11 Feb 2004 02:28:34 +0000 Subject: * turns out write_packet is supposed to return 0 on success, not how many bytes were written. Originally committed as revision 2770 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/dv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dv.c b/libavformat/dv.c index a376741703..dacf4e2db8 100644 --- a/libavformat/dv.c +++ b/libavformat/dv.c @@ -869,7 +869,7 @@ static int dv_write_packet(struct AVFormatContext *s, put_buffer(&s->pb, frame, fsize); put_flush_packet(&s->pb); } - return fsize; + return 0; } /* -- cgit v1.2.3