Code review fix.

This commit is contained in:
cc9cii 2014-09-07 20:35:32 +10:00
parent 7ae8d04c47
commit c396149f23

View file

@ -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); } if(inf == AV_SAMPLE_FMT_FLTP) { s = new int(1); }
return s; return s;
} }
void swr_free(int **s) { delete *s; } void swr_free(int **s) { delete *s; *s = NULL; }
#define SwrContext int #define SwrContext int
#undef AV_SAMPLE_FMT_U8P #undef AV_SAMPLE_FMT_U8P
#define AV_SAMPLE_FMT_U8P 0 #define AV_SAMPLE_FMT_U8P 0