summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Rankin <rankincj@yahoo.com>2011-09-10 21:07:08 +0100
committerChris Rankin <rankincj@yahoo.com>2011-09-10 21:07:08 +0100
commitebfebb80c45a283ebaeb09a1ac136810307c5e34 (patch)
tree5c307b247877da689f530a4678104aa1e8dfbb06 /src
parentdaddbbb2125ba5ae6dd80ff0d0adcd147fce0eb5 (diff)
downloadxine-lib-ebfebb80c45a283ebaeb09a1ac136810307c5e34.tar.gz
xine-lib-ebfebb80c45a283ebaeb09a1ac136810307c5e34.tar.bz2
Tidy up flags usage.
Diffstat (limited to 'src')
-rw-r--r--src/combined/ffmpeg/ff_video_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/combined/ffmpeg/ff_video_decoder.c b/src/combined/ffmpeg/ff_video_decoder.c
index 92fee481f..df57fd5f2 100644
--- a/src/combined/ffmpeg/ff_video_decoder.c
+++ b/src/combined/ffmpeg/ff_video_decoder.c
@@ -1274,7 +1274,7 @@ static void ff_handle_buffer (ff_video_decoder_t *this, buf_element_t *buf) {
if (!this->decoder_ok) {
if (this->decoder_init_mode) {
- int codec_type = buf->type & 0xFFFF0000;
+ int codec_type = buf->type & (BUF_MAJOR_MASK | BUF_DECODER_MASK);
if (!ff_check_extradata(this, codec_type, buf))
return;