From 395afed5666ae45fdaea5611a148d9e62e594056 Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Thu, 31 Dec 2015 02:40:43 -0800 Subject: [PATCH] flacparse: drop remaining trailing whitespace --- gst/audioparsers/gstflacparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/audioparsers/gstflacparse.c b/gst/audioparsers/gstflacparse.c index 0fcf8babb0..ace3cfb99d 100644 --- a/gst/audioparsers/gstflacparse.c +++ b/gst/audioparsers/gstflacparse.c @@ -576,7 +576,7 @@ gst_flac_parse_frame_header_is_valid (GstFlacParse * flacparse, } } - /* + /* The FLAC format documentation says: The "blocking strategy" bit determines how to calculate the sample number of the first sample in the frame. If the bit is 0 (fixed-blocksize), the @@ -586,7 +586,7 @@ gst_flac_parse_frame_header_is_valid (GstFlacParse * flacparse, sample number itself. (In the case of a fixed-blocksize stream, only the last block may be shorter than the stream blocksize; its starting sample number will be calculated as the frame number times the previous frame's - blocksize, or zero if it is the first frame). + blocksize, or zero if it is the first frame). Therefore, when in fixed block size mode, we only update the block size the first time, then reuse that block size for subsequent calls.