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 00028 AVFilter avfilter_af_anull = { 00029 .name = "anull", 00030 .description = NULL_IF_CONFIG_SMALL("Pass the source unchanged to the output."), 00031 00032 .priv_size = 0, 00033 00034 .inputs = (const AVFilterPad[]) {{ .name = "default", 00035 .type = AVMEDIA_TYPE_AUDIO, 00036 .get_audio_buffer = ff_null_get_audio_buffer, 00037 .filter_samples = ff_null_filter_samples }, 00038 { .name = NULL}}, 00039 00040 .outputs = (const AVFilterPad[]) {{ .name = "default", 00041 .type = AVMEDIA_TYPE_AUDIO, }, 00042 { .name = NULL}}, 00043 };