[vlc-devel] [PATCH] picture_fifo: fix variable shadowing
Alexandre Janniaux
ajanni at videolabs.io
Fri Nov 13 10:56:57 CET 2020
---
src/misc/picture_fifo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/misc/picture_fifo.c b/src/misc/picture_fifo.c
index 0cf4a83579..31da652866 100644
--- a/src/misc/picture_fifo.c
+++ b/src/misc/picture_fifo.c
@@ -104,7 +104,7 @@ void picture_fifo_Flush(picture_fifo_t *fifo, vlc_tick_t date, bool flush_before
vlc_picture_chain_GetAndClear(&fifo->pics, &filter_chain);
while ( !vlc_picture_chain_IsEmpty( &filter_chain ) ) {
- picture_t *picture = vlc_picture_chain_PopFront( &filter_chain );
+ picture = vlc_picture_chain_PopFront( &filter_chain );
if (( flush_before && picture->date <= date) ||
(!flush_before && picture->date >= date))
--
2.29.2
More information about the vlc-devel
mailing list