Commit ec26a167 authored by Roman Shaposhnik's avatar Roman Shaposhnik

* 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
parent 826ca104
......@@ -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;
}
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment