mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
Merge "demux: rename SetTile to SelectTile"
This commit is contained in:
commit
dcda59c12d
@ -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_);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user