[FFmpeg-cvslog] avidec: add .category

Paul B Mahol git at videolan.org
Tue Jun 19 18:28:23 CEST 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Jun 19 14:54:58 2012 +0000| [6b9446e93296ed236d497fe3f493d8956571f888] | committer: Paul B Mahol

avidec: add .category

While here make .class_name consistent with other AVClass.

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

 libavformat/avidec.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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,
 };
 
 



More information about the ffmpeg-cvslog mailing list