ffdec: small cleanups

We can use or to calculate the max alignment
This commit is contained in:
Wim Taymans 2011-06-10 18:07:28 +02:00
parent e31b9c8295
commit fcf5e53055

View file

@ -1195,7 +1195,7 @@ gst_ffmpegdec_bufferpool (GstFFMpegDec * ffmpegdec, GstCaps * caps)
config = gst_buffer_pool_get_config (pool);
gst_buffer_pool_config_set (config, caps, size, min, max, prefix, 0,
MAX (alignment, 15));
alignment | 15);
gst_buffer_pool_set_config (pool, config);
if (ffmpegdec->pool)