Skip to content

Commit

Permalink
fix warnings(change int64_t to size_t for read_data)
Browse files Browse the repository at this point in the history
Signed-off-by: Jack <[email protected]>
  • Loading branch information
Jackarain committed Oct 11, 2012
1 parent bff26a7 commit ae08bcb
Show file tree
Hide file tree
Showing 11 changed files with 207 additions and 208 deletions.
2 changes: 1 addition & 1 deletion libav/include/defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ typedef struct source_context
* 返回torrent中的视频媒体个数, 返回-1表示出错.
*/
int (*bt_media_info)(void *ctx, char *name, int64_t *pos, int64_t *size);
int (*read_data)(void *ctx, char* buff, int64_t offset, int buf_size);
int64_t (*read_data)(void *ctx, char* buff, int64_t offset, size_t buf_size);
void (*close)(void *ctx);
void (*destory)(void *ctx);
/* io_dev是保存内部用于访问实际数据的对象指针. */
Expand Down
Loading

0 comments on commit ae08bcb

Please sign in to comment.