Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2017-03-07 14:24:48 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2017-08-04 20:18:34 +0300
commit0318b70db6fba7b0bcf45b99972ab5ef8c41c533 (patch)
tree01f031c97e09bcf7b2537ecb7800fccd9ee6ce2a
parent97644cc296b5091b53c95e9ec3751f7189650165 (diff)
Revert "lavf/mpeg: Identify sub-stream ID 0xa1 as mlp."
This reverts commit fb9036b3142e06631a70810c3d779f8e2d9f180c. Files which use this sub-stream ID for PCM content have been spotted. Proper detection should be implemented instead.
-rw-r--r--libavformat/mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index 68a848a6f6..0b564ac939 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -568,7 +568,7 @@ redo:
codec_id = AV_CODEC_ID_DTS;
} else if (startcode >= 0xa0 && startcode <= 0xaf) {
type = AVMEDIA_TYPE_AUDIO;
- if (lpcm_header_len == 6 || startcode == 0xa1) {
+ if (lpcm_header_len == 6) {
codec_id = AV_CODEC_ID_MLP;
} else {
codec_id = AV_CODEC_ID_PCM_DVD;