[SCM] libav/experimental: Add audio flag to libvorbis AVOption.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:21:09 UTC 2013


The following commit has been merged in the experimental branch:
commit 78c8b4b758e0e5eb582aa9929e7dca2837f931e2
Author: Justin Ruggles <justin.ruggles at gmail.com>
Date:   Thu Dec 30 04:22:41 2010 +0000

    Add audio flag to libvorbis AVOption.
    
    Originally committed as revision 26165 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/libvorbis.c b/libavcodec/libvorbis.c
index 7e75d1d..ef56c25 100644
--- a/libavcodec/libvorbis.c
+++ b/libavcodec/libvorbis.c
@@ -55,7 +55,7 @@ typedef struct OggVorbisContext {
 } OggVorbisContext ;
 
 static const AVOption options[]={
-{"iblock", "Sets the impulse block bias", offsetof(OggVorbisContext, iblock), FF_OPT_TYPE_DOUBLE, 0, -15, 0, AV_OPT_FLAG_ENCODING_PARAM},
+{"iblock", "Sets the impulse block bias", offsetof(OggVorbisContext, iblock), FF_OPT_TYPE_DOUBLE, 0, -15, 0, AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_ENCODING_PARAM},
 {NULL}
 };
 static const AVClass class = { "libvorbis", av_default_item_name, options, LIBAVUTIL_VERSION_INT };

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list