mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-11 15:40:39 +00:00
Code review fix.
This commit is contained in:
parent
7ae8d04c47
commit
c396149f23
@ -84,7 +84,7 @@ int * swr_alloc_set_opts(int *s, int64_t outc, AVSampleFormat outf, int outr,
|
||||
if(inf == AV_SAMPLE_FMT_FLTP) { s = new int(1); }
|
||||
return s;
|
||||
}
|
||||
void swr_free(int **s) { delete *s; }
|
||||
void swr_free(int **s) { delete *s; *s = NULL; }
|
||||
#define SwrContext int
|
||||
#undef AV_SAMPLE_FMT_U8P
|
||||
#define AV_SAMPLE_FMT_U8P 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user