wtv: Mark attachment with a negative stream id
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 24 Jun 2013 16:12:24 +0000 (18:12 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 7 Jul 2013 02:28:51 +0000 (04:28 +0200)
commitf5e646a00ac21e500dae4bcceded790a0fbc5246
tree17cfa9e95bfba333ba3eba919653f2e138647826
parenta4baf96abd64cda68e3e4692b182bdf60745a14d
wtv: Mark attachment with a negative stream id

A sid 0 would be mismatched to the attachment.

Prevent NULL pointer dereference.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavformat/wtv.c