mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
fix ffmpeg compiler warnings, thx DboxOldie
Origin commit data
------------------
Branch: ni/coolstream
Commit: 48882de906
Author: Frankenstone <dampf_acc@online.de>
Date: 2019-02-27 (Wed, 27 Feb 2019)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -307,9 +307,10 @@ void CStreamInfo2::probeStreams()
|
||||
#ifdef ENABLE_FFMPEG_LOGGING
|
||||
av_log_set_callback(log_callback);
|
||||
#endif
|
||||
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 9, 100)
|
||||
avcodec_register_all();
|
||||
av_register_all();
|
||||
|
||||
#endif
|
||||
AVIOContext *avioc = NULL;
|
||||
int buffer_size = 188 * 128;
|
||||
unsigned char *buffer = (unsigned char *) av_malloc(buffer_size);
|
||||
|
Reference in New Issue
Block a user