[FFmpeg-devel] [PATCH] avidec: add .category

Paul B Mahol onemda at gmail.com
Tue Jun 19 16:57:31 CEST 2012


While here make .class_name consistent with other AVClass.

Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavformat/avidec.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 2ad902a..0ec5348 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -84,10 +84,11 @@ static const AVOption options[] = {
 };
 
 static const AVClass demuxer_class = {
-    .class_name = "AVI demuxer",
+    .class_name = "avi",
     .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
+    .category   = AV_CLASS_CATEGORY_DEMUXER,
 };
 
 
-- 
1.7.7



More information about the ffmpeg-devel mailing list