demux: rename SetTile to SelectTile

Change-Id: I52b0b30578aeb77b71069f355c6b00901b948634
This commit is contained in:
James Zern 2012-06-14 17:01:50 -07:00
parent 02dd37a2a3
commit 622ef12ea5
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