[vlc-commits] omx: remove no-op
Rémi Denis-Courmont
git at videolan.org
Sun Jul 14 17:47:02 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 14 18:04:09 2013 +0300| [a390896f7b2f596f27f523593bab208876e03e0a] | committer: Rémi Denis-Courmont
omx: remove no-op
These values are already zeroed a few lines above.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a390896f7b2f596f27f523593bab208876e03e0a
---
modules/codec/omxil/vout.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/modules/codec/omxil/vout.c b/modules/codec/omxil/vout.c
index 480db84..423d854 100644
--- a/modules/codec/omxil/vout.c
+++ b/modules/codec/omxil/vout.c
@@ -296,11 +296,6 @@ static int Open(vlc_object_t *p_this)
goto error;
rsc->p_sys->sys = p_sys;
- for (int i = 0; i < PICTURE_PLANE_MAX; i++) {
- rsc->p[i].p_pixels = NULL;
- rsc->p[i].i_pitch = 0;
- rsc->p[i].i_lines = 0;
- }
picture_t *picture = picture_NewFromResource(&fmt, rsc);
if (!picture)
goto error;
More information about the vlc-commits
mailing list