Mercurial > libavformat.hg
diff soxenc.c @ 6418:2f0124b97014 libavformat
stream_selection can be freed in the fail case, in which case it's unassigned.
Therefore, init it with NULL to prevent a crash on invalid streams.
Patch by Zhentan Feng <spyfeng gmail com>.
author | rbultje |
---|---|
date | Sat, 28 Aug 2010 23:55:26 +0000 |
parents | 178de7695c6c |
children |