* 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
pull/126/head
Roman Shaposhnik 21 years ago
parent 826ca10408
commit ec26a167ee
  1. 2
      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;
}
/*

Loading…
Cancel
Save