vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Wed Jul 24 23:24:51 2013 +0300| [534201c56b10c81235360f1bcbd70a79887fa233] | committer: Rémi Denis-Courmont
hwdummy: remove no-op > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=534201c56b10c81235360f1bcbd70a79887fa233 --- modules/codec/avcodec/hwdummy.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/codec/avcodec/hwdummy.c b/modules/codec/avcodec/hwdummy.c index a685647..d050d71 100644 --- a/modules/codec/avcodec/hwdummy.c +++ b/modules/codec/avcodec/hwdummy.c @@ -72,8 +72,7 @@ static int Lock(vlc_va_t *va, AVFrame *ff) static void Unlock(vlc_va_t *va, AVFrame *ff) { (void) va; - ff->data[0] = ff->data[3] = NULL; - ff->opaque = NULL; + assert((uintptr_t)ff->opaque == SURFACE_MAGIC); } static VdpStatus Render(VdpDecoder decoder, VdpVideoSurface target, _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
