~vcs-imports/mplayer/trunk

Viewing all changes in revision 38043.

  • Committer: komh
  • Date: 2020-10-11 06:36:37 UTC
  • Revision ID: svn-v4:b3059339-0415-0410-9bf9-f77b7e298cf2:trunk:38198
loader: fix compilation

-----
loader/win32.c: In function 'mreq_private':
loader/win32.c:354:28: error: implicit declaration of function 'av_malloc'; did you mean 'valloc'? [-Werror=implicit-function-declaration]
  354 |     alloc_header* header = av_malloc(nsize);
      |                            ^~~~~~~~~
      |                            valloc
loader/win32.c:354:28: warning: initialization of 'alloc_header *' {aka 'struct alloc_header_t *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
loader/win32.c: In function 'my_release':
loader/win32.c:439:5: error: implicit declaration of function 'av_free' [-Werror=implicit-function-declaration]
  439 |     av_free(header);
      |     ^~~~~~~
-----

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: