This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avformat/dtsdec: fix signedness in reference pcm highpass in dts_probe()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.4
Michael Niedermayer
11 years ago
parent
dd551dc7ff
commit
e6fabd6e9b
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/dtsdec.c
+ 1
- 1
libavformat/dtsdec.c
View File
@@ -59,7 +59,7 @@ static int dts_probe(AVProbeData *p)
markers[3]++;
if (buf - p->buf >= 4)
diff += FFABS(AV_RL16(buf) - AV_RL16(buf-4));
diff += FFABS(
((int16_t)
AV_RL16(buf)
)
-
(int16_t)
AV_RL16(buf-4));
}
sum = markers[0] + markers[1] + markers[2] + markers[3];
max = 0;
Write
Preview
Loading…
Cancel
Save