X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavcodec%2Fadx.c;h=c8c7855903468357f93308a138b2fb5fd0b8a241;hb=87656472f46bd2f9092f6c1eeaa05b6d6ebce97e;hp=07c93b387f774d4061fb677e4c3fb41aaa396679;hpb=115329f16062074e11ccf3b89ead6176606c9696;p=ffmpeg diff --git a/libavcodec/adx.c b/libavcodec/adx.c index 07c93b387f7..c8c78559034 100644 --- a/libavcodec/adx.c +++ b/libavcodec/adx.c @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "avcodec.h" @@ -267,7 +267,7 @@ static uint32_t read_long(const unsigned char *p) return (p[0]<<24)|(p[1]<<16)|(p[2]<<8)|p[3]; } -int is_adx(const unsigned char *buf,size_t bufsize) +static int is_adx(const unsigned char *buf,size_t bufsize) { int offset; @@ -385,8 +385,8 @@ static int adx_decode_frame(AVCodecContext *avctx, } #ifdef CONFIG_ENCODERS -AVCodec adx_adpcm_encoder = { - "adx_adpcm", +AVCodec adpcm_adx_encoder = { + "adpcm_adx", CODEC_TYPE_AUDIO, CODEC_ID_ADPCM_ADX, sizeof(ADXContext), @@ -397,8 +397,8 @@ AVCodec adx_adpcm_encoder = { }; #endif //CONFIG_ENCODERS -AVCodec adx_adpcm_decoder = { - "adx_adpcm", +AVCodec adpcm_adx_decoder = { + "adpcm_adx", CODEC_TYPE_AUDIO, CODEC_ID_ADPCM_ADX, sizeof(ADXContext),