pictordec: pass correct context to avpriv_request_sample
authorAnton Khirnov <anton@khirnov.net>
Sat, 24 Aug 2013 19:30:46 +0000 (21:30 +0200)
committerAnton Khirnov <anton@khirnov.net>
Mon, 2 Sep 2013 17:27:56 +0000 (19:27 +0200)
commitfe9bb61f9a16be19ad91875632c39e44b7a99a8a
treed4962ce956ab4c83778174444e5b1f4574ee1d18
parent5f7aecde02a95451e514c809f2794c1deba80695
pictordec: pass correct context to avpriv_request_sample

Fixes invalid reads.

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