Merge "demux: rename SetTile to SelectTile"

This commit is contained in:
James Zern 2012-06-18 13:50:45 -07:00 committed by Gerrit Code Review
commit dcda59c12d
2 changed files with 2 additions and 2 deletions

View File

@ -779,7 +779,7 @@ int WebPDemuxPrevFrame(WebPIterator* const iter) {
return SetFrame(iter->frame_num_ - 1, iter);
}
int WebPDemuxSetTile(WebPIterator* const iter, int tile) {
int WebPDemuxSelectTile(WebPIterator* const iter, int tile) {
if (iter != NULL && iter->private_ != NULL && tile > 0) {
const WebPDemuxer* const dmux = (WebPDemuxer*)iter->private_;
const Frame* const frame = GetFrame(dmux, iter->frame_num_);

View File

@ -554,7 +554,7 @@ WEBP_EXTERN(int) WebPDemuxPrevFrame(WebPIterator* const iter);
// Sets 'iter->tile_' to reflect tile number 'tile_number'.
// Returns true if tile 'tile_number' is present, false otherwise.
WEBP_EXTERN(int) WebPDemuxSetTile(WebPIterator* const iter, int tile_number);
WEBP_EXTERN(int) WebPDemuxSelectTile(WebPIterator* const iter, int tile_number);
// Releases any memory associated with 'iter'.
// Must be called before destroying the associated WebPDemuxer with