summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung>2013-01-10 14:57:53 +0900
committerWooHyun Jung <wh0705.jung>2013-01-10 14:57:53 +0900
commitd3079d67350dd8f47d223e0689da16191f854058 (patch)
tree909b3419d3748b466ea33c1351798f00310de075
parent131e9b383436922344cb2666c54271fa177a143e (diff)
downloadedje-multisense-plugin-d3079d67350dd8f47d223e0689da16191f854058.tar.gz
edje-multisense-plugin-d3079d67350dd8f47d223e0689da16191f854058.tar.bz2
edje-multisense-plugin-d3079d67350dd8f47d223e0689da16191f854058.zip
Removed useless codes. Buffer size cannot be <0 because it is unsigned int
Change-Id: I97affd0733f837090b34102a40247eb8c929a6be
-rw-r--r--src/tizen_sound_player/tizen_sound_player.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/tizen_sound_player/tizen_sound_player.c b/src/tizen_sound_player/tizen_sound_player.c
index 3352f6d..783ceb6 100644
--- a/src/tizen_sound_player/tizen_sound_player.c
+++ b/src/tizen_sound_player/tizen_sound_player.c
@@ -76,12 +76,6 @@ remix_player_reset_device (RemixEnv *env, RemixBase *base)
return RemixNone;
}
- if(player_data->buffer_size < 0)
- {
- remix_set_error (env, REMIX_ERROR_SYSTEM);
- return RemixNone;
- }
-
if( old_buffer_size < player_data->buffer_size)
{
if( player_data->playbuffer ) free(player_data->playbuffer);