mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-30 08:50:56 +02:00
libeplayer3: sync with max_10
Origin commit data
------------------
Branch: master
Commit: 61a2a148d5
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-01-24 (Tue, 24 Jan 2023)
Origin message was:
------------------
- libeplayer3: sync with max_10
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -145,13 +145,13 @@ static AVCodecContext *wrapped_avcodec_get_context(uint32_t cAVIdx, AVStream *st
|
||||
avCodecCtx = avcodec_alloc_context3(NULL);
|
||||
if (!avCodecCtx)
|
||||
{
|
||||
fprintf(stderr, "context3 alloc for stream %d failed\n", (int)stream->id);
|
||||
ffmpeg_err("context3 alloc for stream %d failed\n", (int)stream->id);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (avcodec_parameters_to_context(avCodecCtx, stream->codecpar) < 0)
|
||||
{
|
||||
fprintf(stderr, "parameters to context for stream %d failed\n", (int)stream->id);
|
||||
ffmpeg_err("parameters to context for stream %d failed\n", (int)stream->id);
|
||||
avcodec_free_context(&avCodecCtx);
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user