vlc | branch: master | Rémi Duraffort <[email protected]> | Fri Jan 4 22:41:12 2013 +0100| [92498ed70e94da04c531a564c6d8d206150b4f03] | committer: Rémi Duraffort
Fix potential usage of an uninitialized pointer > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=92498ed70e94da04c531a564c6d8d206150b4f03 --- modules/stream_filter/smooth/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stream_filter/smooth/utils.c b/modules/stream_filter/smooth/utils.c index 2ca5888..5c180dc 100644 --- a/modules/stream_filter/smooth/utils.c +++ b/modules/stream_filter/smooth/utils.c @@ -178,7 +178,7 @@ void sms_queue_free( sms_queue_t* queue ) int sms_queue_put( sms_queue_t *queue, const uint64_t value ) { /* Remove the last (and oldest) item */ - item_t *item, *prev; + item_t *item, *prev = NULL; int count = 0; for( item = queue->first; item != NULL; item = item->next ) { _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
