[vlc-commits] vlc_input_item: remove INPUT_DURATION_ZERO

Steve Lhomme git at videolan.org
Mon Jul 30 07:16:01 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jul 26 09:47:27 2018 +0200| [b1d0b2a33754e992712a6616d5c5831708a57a93] | committer: Steve Lhomme

vlc_input_item: remove INPUT_DURATION_ZERO

If a duration is explicitly 0 (an item that won't play any content) then it can
be set to 0 directly.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b1d0b2a33754e992712a6616d5c5831708a57a93
---

 include/vlc_input_item.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/vlc_input_item.h b/include/vlc_input_item.h
index f5c9384845..4ab47725a9 100644
--- a/include/vlc_input_item.h
+++ b/include/vlc_input_item.h
@@ -127,7 +127,6 @@ struct input_item_t
 /* placeholder duration for items with no known duration at time of creation
  * it may remain the duration for items like a node/directory */
 #define INPUT_DURATION_UNSET      VLC_TICK_INVALID
-#define INPUT_DURATION_ZERO      0     /* an item with a zero duration */
 #define INPUT_DURATION_INDEFINITE (-1) /* item with a known indefinite duration (live/continuous source) */
 
 enum input_item_net_type



More information about the vlc-commits mailing list