summaryrefslogtreecommitdiff
path: root/ffmpeg/libavformat/dvenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg/libavformat/dvenc.c')
-rw-r--r--ffmpeg/libavformat/dvenc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ffmpeg/libavformat/dvenc.c b/ffmpeg/libavformat/dvenc.c
index 0b3811e..43f65c3 100644
--- a/ffmpeg/libavformat/dvenc.c
+++ b/ffmpeg/libavformat/dvenc.c
@@ -33,7 +33,7 @@
#include "avformat.h"
#include "internal.h"
#include "libavcodec/dv_profile.h"
-#include "libavcodec/dvdata.h"
+#include "libavcodec/dv.h"
#include "dv.h"
#include "libavutil/fifo.h"
#include "libavutil/mathematics.h"
@@ -390,7 +390,6 @@ static int dv_write_packet(struct AVFormatContext *s, AVPacket *pkt)
pkt->data, pkt->size, &frame);
if (fsize > 0) {
avio_write(s->pb, frame, fsize);
- avio_flush(s->pb);
}
return 0;
}