diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/faad/gstfaad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index 814de23b..5863e590 100644 --- a/ext/faad/gstfaad.c +++ b/ext/faad/gstfaad.c @@ -1163,7 +1163,7 @@ clip_outgoing_buffer (GstFaad * faad, GstBuffer * buffer) GST_BUFFER_DATA (buffer) += diff; GST_BUFFER_SIZE (buffer) -= diff; } - diff = cstop - stop; + diff = stop - cstop; if (diff > 0) { GST_BUFFER_DURATION (buffer) -= diff; /* time->frames->bytes */ |