00001 /* 00002 * Copyright (c) 2010 S.N. Hemanth Meenakshisundaram <smeenaks@ucsd.edu> 00003 * This file is part of FFmpeg. 00004 * 00005 * FFmpeg is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2.1 of the License, or (at your option) any later version. 00009 * 00010 * FFmpeg is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with FFmpeg; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00018 */ 00019 00025 #include "audio.h" 00026 #include "avfilter.h" 00027 #include "internal.h" 00028 #include "libavutil/internal.h" 00029 00030 AVFilter avfilter_af_anull = { 00031 .name = "anull", 00032 .description = NULL_IF_CONFIG_SMALL("Pass the source unchanged to the output."), 00033 00034 .priv_size = 0, 00035 00036 .inputs = (const AVFilterPad[]) {{ .name = "default", 00037 .type = AVMEDIA_TYPE_AUDIO, 00038 .get_audio_buffer = ff_null_get_audio_buffer, }, 00039 { .name = NULL}}, 00040 00041 .outputs = (const AVFilterPad[]) {{ .name = "default", 00042 .type = AVMEDIA_TYPE_AUDIO, }, 00043 { .name = NULL}}, 00044 };