[FFmpeg-cvslog] Fix libutvideo compilation.

Carl Eugen Hoyos git at videolan.org
Tue Feb 7 18:28:23 CET 2012


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Feb  7 18:28:00 2012 +0100| [bf5c0308f2d9f7734db79f567b1f79dd621008ab] | committer: Carl Eugen Hoyos

Fix libutvideo compilation.

Fixes ticket #985.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bf5c0308f2d9f7734db79f567b1f79dd621008ab
---

 libavcodec/libutvideo.cpp |   26 ++++++++++++++++++--------
 1 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/libavcodec/libutvideo.cpp b/libavcodec/libutvideo.cpp
index 635720e..1089d3e 100644
--- a/libavcodec/libutvideo.cpp
+++ b/libavcodec/libutvideo.cpp
@@ -189,17 +189,27 @@ static av_cold int utvideo_decode_close(AVCodecContext *avctx)
 
 AVCodec ff_libutvideo_decoder = {
     "libutvideo",
+    NULL_IF_CONFIG_SMALL("Ut Video"),
     AVMEDIA_TYPE_VIDEO,
     CODEC_ID_UTVIDEO,
+    0,    //capabilities
+    NULL, //supported_framerates
+    NULL, //pix_fmts
+    NULL, //supported_samplerates
+    NULL, //sample_fmts
+    NULL, //channel_layouts
+    0,    //max_lowres
+    NULL, //priv_class
+    NULL, //profiles
     sizeof(UtVideoContext),
+    NULL, //next
+    NULL, //init_thread_copy
+    NULL, //update_thread_context
+    NULL, //defaults
+    NULL, //init_static_data
     utvideo_decode_init,
-    NULL,
-    utvideo_decode_close,
+    NULL, //encode
+    NULL, //encode2
     utvideo_decode_frame,
-    NULL,
-    NULL,
-    NULL,
-    NULL,
-    NULL,
-    NULL_IF_CONFIG_SMALL("Ut Video"),
+    utvideo_decode_close,
 };



More information about the ffmpeg-cvslog mailing list