diff options
author | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2012-11-13 14:55:24 -0800 |
---|---|---|
committer | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2012-11-13 14:55:24 -0800 |
commit | a6a68e00f1116dd16190729a0b853d0a18efa3bc (patch) | |
tree | 6894e5350335ac141a0b0f52ff5f9a2fa6b15e5c /xrdpvr | |
parent | 78a05415b20680e917c496b71b7fbdd0b0aafa03 (diff) | |
parent | b60ee35a3459815d28923af42c9a8790c40a8009 (diff) | |
download | xrdp-proprietary-a6a68e00f1116dd16190729a0b853d0a18efa3bc.tar.gz xrdp-proprietary-a6a68e00f1116dd16190729a0b853d0a18efa3bc.zip |
Merge branch 'master' of github.com:FreeRDP/xrdp
Diffstat (limited to 'xrdpvr')
-rw-r--r-- | xrdpvr/xrdpvr.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xrdpvr/xrdpvr.c b/xrdpvr/xrdpvr.c index ec5ade37..6293818e 100644 --- a/xrdpvr/xrdpvr.c +++ b/xrdpvr/xrdpvr.c @@ -129,8 +129,6 @@ xrdpvr_deinit_player(void *channel, int stream_id) int xrdpvr_play_media(void *channel, int stream_id, char *filename) { - AVDictionary *p_audio_opt_dict = NULL; - AVDictionary *p_video_opt_dict = NULL; AVPacket av_pkt; int video_index = -1; @@ -208,7 +206,7 @@ xrdpvr_play_media(void *channel, int stream_id, char *filename) /* open decoder for audio stream */ if (avcodec_open2(g_psi.p_audio_codec_ctx, g_psi.p_audio_codec, - &p_audio_opt_dict) < 0) + NULL) < 0) { printf("ERROR: could not open audio decoder\n"); return -1; @@ -216,7 +214,7 @@ xrdpvr_play_media(void *channel, int stream_id, char *filename) /* open decoder for video stream */ if (avcodec_open2(g_psi.p_video_codec_ctx, g_psi.p_video_codec, - &p_video_opt_dict) < 0) + NULL) < 0) { printf("ERROR: could not open video decoder\n"); return -1; |