fix warnings

Origin commit data
------------------
Branch: master
Commit: d10e61a042
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2021-06-06 (Sun, 06 Jun 2021)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
BPanther
2021-06-06 02:51:38 +02:00
committed by vanhofen
parent d68d2ad0fc
commit 82a50ba6c8
2 changed files with 2 additions and 2 deletions

View File

@@ -868,7 +868,7 @@ AVFormatContext *cPlayback::GetAVFormatContext()
void cPlayback::ReleaseAVFormatContext()
{
avft->streams = NULL;
avft->nb_streams = NULL;
avft->nb_streams = 0;
}
#if 0

View File

@@ -3334,7 +3334,7 @@ static int container_ffmpeg_av_context(Context_t *context, AVFormatContext *ext_
else
{
ext_avContext->streams = NULL;
ext_avContext->nb_streams = NULL;
ext_avContext->nb_streams = 0;
}
return cERR_CONTAINER_FFMPEG_NO_ERROR;