From fb901527746fa6d538109a0160be8f5e0662ffba Mon Sep 17 00:00:00 2001 From: Hyongtaek Lim Date: Tue, 11 Aug 2015 18:36:48 +0900 Subject: [PATCH] change the error type at the player_set_media_stream_info() Signed-off-by: Hyongtaek Lim Change-Id: If019415dfd0e6f9a153ddd246b0a5211bad651f3 --- client/src/player2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/player2.c b/client/src/player2.c index 3f8960e..1376134 100644 --- a/client/src/player2.c +++ b/client/src/player2.c @@ -2900,7 +2900,7 @@ int player_set_media_stream_info(player_h player, player_stream_type_e type, media_format_h format) { PLAYER_INSTANCE_CHECK(player); - PLAYER_NULL_ARG_CHECK(format); + g_return_val_if_fail(format, PLAYER_ERROR_INVALID_OPERATION); int ret = PLAYER_ERROR_NONE; player_cli_s *pc = (player_cli_s *) player; mm_player_api_e api = MM_PLAYER_API_SET_MEDIA_STREAM_INFO; -- 2.34.1