replace av_log(0, by av_log(NULL,
The first parameter is a pointer and NULL is more correct Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c322f19855
commit
0efcf16a3e
16 changed files with 22 additions and 22 deletions
|
@ -991,7 +991,7 @@ static unsigned get_codecs_sorted(const AVCodecDescriptor ***rcodecs)
|
|||
while ((desc = avcodec_descriptor_next(desc)))
|
||||
nb_codecs++;
|
||||
if (!(codecs = av_calloc(nb_codecs, sizeof(*codecs)))) {
|
||||
av_log(0, AV_LOG_ERROR, "Out of memory\n");
|
||||
av_log(NULL, AV_LOG_ERROR, "Out of memory\n");
|
||||
exit(1);
|
||||
}
|
||||
desc = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue