diff options
author | Roman Shaposhnik <roman@shaposhnik.org> | 2004-02-11 02:28:34 +0000 |
---|---|---|
committer | Roman Shaposhnik <roman@shaposhnik.org> | 2004-02-11 02:28:34 +0000 |
commit | ec26a167ee4835d237c0d6700df9a661e38994c4 (patch) | |
tree | 0b54532eb26eeafe8b09e54e2213eff138dd4118 | |
parent | 826ca10408ff30f014426092274424b1a13419ea (diff) | |
download | ffmpeg-ec26a167ee4835d237c0d6700df9a661e38994c4.tar.gz |
* 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
-rw-r--r-- | libavformat/dv.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } /* |