Only insert null packets into the video que if there is a video stream.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 19 Apr 2009 21:44:03 +0000 (21:44 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 19 Apr 2009 21:44:03 +0000 (21:44 +0000)
commit9dc41767029f6709d50f3765e49ba1cf1dd3748d
treedc8d01a8f2915559a013235b5dde57acc18c8864
parent5aef84623a5a16316a02ea58b0b59a289d67abd2
Only insert null packets into the video que if there is a video stream.
Fixes memleak and should fix issue791.

Originally committed as revision 18629 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffplay.c