* 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
This commit is contained in:
Roman Shaposhnik 2004-02-11 02:28:34 +00:00
parent 826ca10408
commit ec26a167ee

View File

@ -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;
}
/*