summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/VBRISeeker.cpp
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2012-03-16 07:56:42 -0700
committerMarco Nelissen <marcone@google.com>2012-03-16 08:36:30 -0700
commit9e50385f34676d8fcb3b473ec4c9f5c388a4c887 (patch)
treec8a2f02e79d48b8505b40eb8df6784583af75e09 /media/libstagefright/VBRISeeker.cpp
parent5102400104ce1f0a6de7bf913381a91e4f18a22a (diff)
downloadframeworks_av-9e50385f34676d8fcb3b473ec4c9f5c388a4c887.zip
frameworks_av-9e50385f34676d8fcb3b473ec4c9f5c388a4c887.tar.gz
frameworks_av-9e50385f34676d8fcb3b473ec4c9f5c388a4c887.tar.bz2
Skip XING/VBRI frame when decoding
Don't send the XING/VBRI frame to the decoder, as it will result in extra data being output. Also clean up the XING seeker code a bit. Change-Id: I714a94180edae9bedc1bc0c96bf382fe6f928ac6
Diffstat (limited to 'media/libstagefright/VBRISeeker.cpp')
-rw-r--r--media/libstagefright/VBRISeeker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/VBRISeeker.cpp b/media/libstagefright/VBRISeeker.cpp
index 6ac5a83..bcba874 100644
--- a/media/libstagefright/VBRISeeker.cpp
+++ b/media/libstagefright/VBRISeeker.cpp
@@ -92,7 +92,7 @@ sp<VBRISeeker> VBRISeeker::CreateFromSource(
}
sp<VBRISeeker> seeker = new VBRISeeker;
- seeker->mBasePos = post_id3_pos;
+ seeker->mBasePos = post_id3_pos + frameSize;
seeker->mDurationUs = durationUs;
off64_t offset = post_id3_pos;