[vlc-commits] picture_fifo: fix variable shadowing
Alexandre Janniaux
git at videolan.org
Wed Nov 18 09:22:49 CET 2020
vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Fri Nov 13 10:56:45 2020 +0100| [d8cd3c67f0f736356cc08b53634218e9ce5d4cc5] | committer: Alexandre Janniaux
picture_fifo: fix variable shadowing
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d8cd3c67f0f736356cc08b53634218e9ce5d4cc5
---
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))
More information about the vlc-commits
mailing list