lavfi/showwaves: fix check on showwaves->outpicref
authorStefano Sabatini <stefasab@gmail.com>
Tue, 22 Jan 2013 11:18:52 +0000 (12:18 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Tue, 22 Jan 2013 19:34:29 +0000 (20:34 +0100)
commit5b10c5e7e4d79750974026f39940164d10b891cb
tree568e0124e72db0a5abc094efb971fe8e97b2186a
parent379d03b0c9fd85f30e66a3fd19b18e0a2c28c1ef
lavfi/showwaves: fix check on showwaves->outpicref

outpicref is not always in synch with showwaves->outpicref, which is
changed as a side effect of the call to functions.

Fix regression introduced in 5f634480d1c4ed7711a15d1be07e49177cf351c1,
+10l to me.
libavfilter/avf_showwaves.c