mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 07:22:44 +02:00
libeplayer3: check for valid avContext pointer
Origin commit data
------------------
Branch: master
Commit: 3d5353cbd8
Author: martii <m4rtii@gmx.de>
Date: 2012-11-09 (Fri, 09 Nov 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1941,6 +1941,10 @@ static int Command(void *_context, ContainerCmd_t command, void * argument)
|
|||||||
|
|
||||||
ffmpeg_printf(50, "Command %d\n", command);
|
ffmpeg_printf(50, "Command %d\n", command);
|
||||||
|
|
||||||
|
#ifdef MARTII
|
||||||
|
if (command != CONTAINER_INIT && !avContext)
|
||||||
|
return cERR_CONTAINER_FFMPEG_ERR;
|
||||||
|
#endif
|
||||||
switch(command)
|
switch(command)
|
||||||
{
|
{
|
||||||
case CONTAINER_INIT: {
|
case CONTAINER_INIT: {
|
||||||
|
Reference in New Issue
Block a user