[vlc-commits] avcodec: remove debug code
Rémi Denis-Courmont
git at videolan.org
Wed Jul 24 18:15:26 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 24 18:41:31 2013 +0300| [71c11236c2dd407624e8af17f0f3a2f49d48b14c] | committer: Rémi Denis-Courmont
avcodec: remove debug code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=71c11236c2dd407624e8af17f0f3a2f49d48b14c
---
modules/codec/avcodec/video.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 30f9385..271f91e 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -989,8 +989,8 @@ static picture_t *lavc_dr_GetFrame(struct AVCodecContext *ctx,
for (int i = 0; i < pic->i_planes; i++)
{
- /*if (pic->p[i].i_pitch % aligns[i])
- goto no_dr;*/
+ if (pic->p[i].i_pitch % aligns[i])
+ goto no_dr;
if (((uintptr_t)pic->p[i].p_pixels) % aligns[i])
goto no_dr;
}
More information about the vlc-commits
mailing list