diff options
author | Paul B Mahol <onemda@gmail.com> | 2021-09-05 18:10:53 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-09-05 18:12:56 +0200 |
commit | 0c87b43c6cd45a66c54134026d2f2cf823df4c7d (patch) | |
tree | 931b97f552a2bf20f196d12d4af3dec232db18ec /libavcodec/mlpdec.c | |
parent | 3ea0171ea3ef374f9468805ec27b37b29f0dd47c (diff) | |
download | ffmpeg-0c87b43c6cd45a66c54134026d2f2cf823df4c7d.tar.gz |
avcodec/mlp: move sync defines to common header
Diffstat (limited to 'libavcodec/mlpdec.c')
-rw-r--r-- | libavcodec/mlpdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mlpdec.c b/libavcodec/mlpdec.c index 08db5dc63c..4320cb4524 100644 --- a/libavcodec/mlpdec.c +++ b/libavcodec/mlpdec.c @@ -391,7 +391,7 @@ static int read_major_sync(MLPDecodeContext *m, GetBitContext *gb) * substream is Stereo. Subsequent substreams' layouts are indicated in the * major sync. */ if (m->avctx->codec_id == AV_CODEC_ID_MLP) { - if (mh.stream_type != 0xbb) { + if (mh.stream_type != SYNC_MLP) { avpriv_request_sample(m->avctx, "unexpected stream_type %X in MLP", mh.stream_type); @@ -401,7 +401,7 @@ static int read_major_sync(MLPDecodeContext *m, GetBitContext *gb) m->substream[0].mask = AV_CH_LAYOUT_STEREO; m->substream[substr].mask = mh.channel_layout_mlp; } else { - if (mh.stream_type != 0xba) { + if (mh.stream_type != SYNC_TRUEHD) { avpriv_request_sample(m->avctx, "unexpected stream_type %X in !MLP", mh.stream_type); |