From 3e2937bef36c266daf553194fcb70041a80295c6 Mon Sep 17 00:00:00 2001 From: Roman Shaposhnik Date: Tue, 8 Apr 2003 09:56:19 +0000 Subject: [PATCH] dv file format support patch by (Roman Shaposhnick ) Originally committed as revision 1742 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/dv.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavformat/dv.c b/libavformat/dv.c index aee2279131..1577c8dcaa 100644 --- a/libavformat/dv.c +++ b/libavformat/dv.c @@ -104,7 +104,7 @@ static AVInputFormat dv_iformat = { .extensions = "dv", }; -#if 0 + int dv_write_header(struct AVFormatContext *s) { return 0; @@ -136,11 +136,10 @@ AVOutputFormat dv_oformat = { dv_write_packet, dv_write_trailer, }; -#endif int dv_init(void) { av_register_input_format(&dv_iformat); - // av_register_output_format(&dv_oformat); + av_register_output_format(&dv_oformat); return 0; }