mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 13:55:41 +00:00
avauddec: remove obsolete version check
https://bugzilla.gnome.org/show_bug.cgi?id=792900
This commit is contained in:
parent
e4bf6147a0
commit
d059922f56
1 changed files with 1 additions and 8 deletions
|
@ -880,15 +880,8 @@ gst_ffmpegauddec_register (GstPlugin * plugin)
|
||||||
(in_plugin->id >= AV_CODEC_ID_PCM_S16LE &&
|
(in_plugin->id >= AV_CODEC_ID_PCM_S16LE &&
|
||||||
in_plugin->id <= AV_CODEC_ID_PCM_BLURAY) ||
|
in_plugin->id <= AV_CODEC_ID_PCM_BLURAY) ||
|
||||||
(in_plugin->id >= AV_CODEC_ID_PCM_S8_PLANAR &&
|
(in_plugin->id >= AV_CODEC_ID_PCM_S8_PLANAR &&
|
||||||
#if AV_VERSION_INT (LIBAVCODEC_VERSION_MAJOR, LIBAVCODEC_VERSION_MINOR, LIBAVCODEC_VERSION_MICRO) >= AV_VERSION_INT (57,69,0)
|
in_plugin->id <= AV_CODEC_ID_PCM_F24LE))
|
||||||
in_plugin->id <= AV_CODEC_ID_PCM_F24LE)) {
|
|
||||||
#elif AV_VERSION_INT (LIBAVCODEC_VERSION_MAJOR, LIBAVCODEC_VERSION_MINOR, LIBAVCODEC_VERSION_MICRO) >= AV_VERSION_INT (57,54,0)
|
|
||||||
in_plugin->id <= AV_CODEC_ID_PCM_S64BE)) {
|
|
||||||
#else
|
|
||||||
in_plugin->id <= AV_CODEC_ID_PCM_S16BE_PLANAR)) {
|
|
||||||
#endif
|
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
|
|
||||||
/* No decoders depending on external libraries (we don't build them, but
|
/* No decoders depending on external libraries (we don't build them, but
|
||||||
* people who build against an external ffmpeg might have them.
|
* people who build against an external ffmpeg might have them.
|
||||||
|
|
Loading…
Reference in a new issue