]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/a52dec.c
make HTTP MOVED messages also work in ffmpeg (302 is essentially the same as 303).
[ffmpeg] / libavcodec / a52dec.c
index 615f9d7aa52a56d2cf67eea100bc274eff72ba27..c2da2283d9d8ed0569fd316efd32996f12c7820a 100644 (file)
@@ -70,6 +70,7 @@ typedef struct AC3DecodeState {
 
 } AC3DecodeState;
 
+#ifdef CONFIG_LIBA52BIN
 static void* dlsymm(void* handle, const char* symbol)
 {
     void* f = dlsym(handle, symbol);
@@ -77,6 +78,7 @@ static void* dlsymm(void* handle, const char* symbol)
         av_log( NULL, AV_LOG_ERROR, "A52 Decoder - function '%s' can't be resolved\n", symbol);
     return f;
 }
+#endif
 
 static int a52_decode_init(AVCodecContext *avctx)
 {