diff options
author | Chris Craik <ccraik@android.com> | 2015-04-02 22:25:47 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-02 22:25:48 +0000 |
commit | d90222baefb107ddc08d024b02d664d18f50f44f (patch) | |
tree | 83290b350f7b0e75a256d64d50a331b36b42f991 /framesequence/jni/FrameSequence_gif.cpp | |
parent | 46ca918db82c1fca3f370ec6a9b936bf7268aa85 (diff) | |
parent | 6a61141137c7a46d747aa611c9caf62436bc119f (diff) | |
download | android_frameworks_ex-d90222baefb107ddc08d024b02d664d18f50f44f.tar.gz android_frameworks_ex-d90222baefb107ddc08d024b02d664d18f50f44f.tar.bz2 android_frameworks_ex-d90222baefb107ddc08d024b02d664d18f50f44f.zip |
Merge "Adding Bytebuffer support to rastermill library"
Diffstat (limited to 'framesequence/jni/FrameSequence_gif.cpp')
-rw-r--r-- | framesequence/jni/FrameSequence_gif.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/framesequence/jni/FrameSequence_gif.cpp b/framesequence/jni/FrameSequence_gif.cpp index f3e94df..2188c53 100644 --- a/framesequence/jni/FrameSequence_gif.cpp +++ b/framesequence/jni/FrameSequence_gif.cpp @@ -352,6 +352,10 @@ static bool isGif(void* header, int header_size) { || !memcmp(GIF89_STAMP, header, GIF_STAMP_LEN); } +static bool acceptsBuffers() { + return false; +} + static FrameSequence* createFramesequence(Stream* stream) { return new FrameSequence_gif(stream); } @@ -361,6 +365,7 @@ static RegistryEntry gEntry = { isGif, createFramesequence, NULL, + acceptsBuffers, }; static Registry gRegister(gEntry); |