changeset 363:efd9dfe4f504 libavformat

* turns out write_packet is supposed to return 0 on success, not how many bytes were written.
author romansh
date Wed, 11 Feb 2004 02:28:34 +0000
parents 07bf7ff87eb3
children 0d74e8abcb3d
files dv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dv.c	Sat Feb 07 08:20:00 2004 +0000
+++ b/dv.c	Wed Feb 11 02:28:34 2004 +0000
@@ -869,7 +869,7 @@
         put_buffer(&s->pb, frame, fsize); 
         put_flush_packet(&s->pb);
     } 
-    return fsize;
+    return 0;
 }
 
 /*