Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-06-10 16:29:07 +0300
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-06-12 14:29:46 +0300
commitf1fa1eed2abdc8dfb0af318a43f5d293b81141bd (patch)
tree0e4bcb0beffa32ccc52f1d5dcfd531d5e6c214d0 /libavcodec/rv20enc.c
parente7af52a68dde9144b273a9598b60bf0f56e1323b (diff)
mpegvideo: Expand macro
Having this macro in an header only facilitates the use of such header. The code increase is minimal and files have one less dependency on mpegvideo.h.
Diffstat (limited to 'libavcodec/rv20enc.c')
-rw-r--r--libavcodec/rv20enc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/rv20enc.c b/libavcodec/rv20enc.c
index 61e8a9d4c9..20090b14ef 100644
--- a/libavcodec/rv20enc.c
+++ b/libavcodec/rv20enc.c
@@ -60,7 +60,12 @@ void ff_rv20_encode_picture_header(MpegEncContext *s, int picture_number){
}
}
-FF_MPV_GENERIC_CLASS(rv20)
+static const AVClass rv20_class = {
+ .class_name = "rv20 encoder",
+ .item_name = av_default_item_name,
+ .option = ff_mpv_generic_options,
+ .version = LIBAVUTIL_VERSION_INT,
+};
AVCodec ff_rv20_encoder = {
.name = "rv20",