AnimDecoder API: Add a GetDemuxer() method.

Change-Id: Ic6a86e8788f1a3e21d1287ece36d80d1153b8f5a
This commit is contained in:
Urvang Joshi
2015-11-11 10:36:17 -08:00
parent 1aa4e3d6ba
commit 688b265d5e
2 changed files with 19 additions and 1 deletions

View File

@ -427,6 +427,11 @@ void WebPAnimDecoderReset(WebPAnimDecoder* dec) {
}
}
const WebPDemuxer* WebPAnimDecoderGetDemuxer(const WebPAnimDecoder* dec) {
if (dec == NULL) return NULL;
return dec->demux_;
}
void WebPAnimDecoderDelete(WebPAnimDecoder* dec) {
if (dec != NULL) {
WebPDemuxDelete(dec->demux_);