summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-10-20 01:58:43 +0300
committerUoti Urpala <uau@mplayer2.org>2011-10-20 02:16:35 +0300
commit3595dcc0896c6e3d117510b3361d75568cfa5f8e (patch)
tree3df8fad5fb02dc9cc3a57b4640f6e11d0d45e471 /libmpdemux
parent49b2bc59477395370065a22ecbe05a36c246bc73 (diff)
downloadmpv-3595dcc0896c6e3d117510b3361d75568cfa5f8e.tar.bz2
mpv-3595dcc0896c6e3d117510b3361d75568cfa5f8e.tar.xz
audio/video: delete buggy "dynamic plugin" code
Codec selection for audio and video decoding had a "dynamic plugin" feature that tried to load a shared library for any codec that had not been enabled at compilation (disabled by default, but could be enabled with --enable-dynamic-plugins configure switch; for unknown reasons some distro packages have enabled it). The implementation was buggy and could cause normal codec selection fallback to fail if the feature was enabled. I'm not aware of any real uses of such dynamic plugins and the feature seems questionable anyway (there are no ABI guarantees that would make it safe to use). Remove the buggy feature.
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/stheader.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libmpdemux/stheader.h b/libmpdemux/stheader.h
index 80818e8785..06f52324e5 100644
--- a/libmpdemux/stheader.h
+++ b/libmpdemux/stheader.h
@@ -77,9 +77,6 @@ typedef struct sh_audio {
int a_buffer_size;
struct af_stream *afilter; // the audio filter stream
const struct ad_functions *ad_driver;
-#ifdef CONFIG_DYNAMIC_PLUGINS
- void *dec_handle;
-#endif
// win32-compatible codec parameters:
AVIStreamHeader audio;
WAVEFORMATEX *wf;
@@ -122,9 +119,6 @@ typedef struct sh_video {
int output_flags; // query_format() results for output filters+vo
const struct vd_functions *vd_driver;
int vf_initialized; // -1 failed, 0 not done, 1 done
-#ifdef CONFIG_DYNAMIC_PLUGINS
- void *dec_handle;
-#endif
// win32-compatible codec parameters:
AVIStreamHeader video;
BITMAPINFOHEADER *bih;