提交 13f42920 编写于 作者: Z Zhang Rui

ijkplayer: reset ffp->opaque, ffp->msg_handler

上级 883b60f3
......@@ -394,7 +394,7 @@ typedef struct FFPlayer {
SDL_Thread _refresh_video_tid;
void *opaque;
void (*msg_process)(void *opaque, int what);
void (*msg_handler)(void *opaque, int what);
} FFPlayer;
#define IJKFF_MSG_ERROR 0
......@@ -465,6 +465,9 @@ inline static void ijkff_reset(FFPlayer *ffp)
ffp->vout = NULL; /* reset outside */
ffp->sar_num = 0;
ffp->sar_den = 0;
ffp->opaque = 0;
ffp->msg_handler = NULL;
}
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册