summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/dts/gstdtsdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dts/gstdtsdec.c b/ext/dts/gstdtsdec.c
index d589901c2..0455ab0ca 100644
--- a/ext/dts/gstdtsdec.c
+++ b/ext/dts/gstdtsdec.c
@@ -286,7 +286,7 @@ gst_dtsdec_parse (GstAudioDecoder * bdec, GstAdapter * adapter,
bit_rate = dts->bit_rate;
sample_rate = dts->sample_rate;
flags = 0;
- while (av >= 7) {
+ while (size >= 7) {
length = dca_syncinfo (dts->state, data, &flags,
&sample_rate, &bit_rate, &frame_length);