Diffstat (limited to 'noncore/multimedia/opieplayer2/nullvideo.c') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/nullvideo.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/nullvideo.c b/noncore/multimedia/opieplayer2/nullvideo.c index 79337c2..bd52869 100644 --- a/noncore/multimedia/opieplayer2/nullvideo.c +++ b/noncore/multimedia/opieplayer2/nullvideo.c | |||
@@ -341,14 +341,12 @@ static void null_update_frame_format( vo_driver_t* self, vo_frame_t* img, | |||
341 | frame->frame.base[0] = xine_xmalloc_aligned (16, frame->frame.pitches[0] * height,(void **)&frame->chunk[0]); | 341 | frame->frame.base[0] = xine_xmalloc_aligned (16, frame->frame.pitches[0] * height,(void **)&frame->chunk[0]); |
342 | frame->frame.base[1] = xine_xmalloc_aligned (16, frame->frame.pitches[1] * ((height+ 1)/2), (void **)&frame->chunk[1]); | 342 | frame->frame.base[1] = xine_xmalloc_aligned (16, frame->frame.pitches[1] * ((height+ 1)/2), (void **)&frame->chunk[1]); |
343 | frame->frame.base[2] = xine_xmalloc_aligned (16, frame->frame.pitches[2] * ((height+ 1)/2), (void **)&frame->chunk[2]); | 343 | frame->frame.base[2] = xine_xmalloc_aligned (16, frame->frame.pitches[2] * ((height+ 1)/2), (void **)&frame->chunk[2]); |
344 | 344 | ||
345 | }else{ | 345 | }else{ |
346 | frame->frame.pitches[0] = 8*((width + 3) / 4); | 346 | frame->frame.pitches[0] = 8*((width + 3) / 4); |
347 | frame->frame.pitches[1] = 8*((width + 3) / 4); | ||
348 | frame->frame.pitches[2] = 8*((width + 3) / 4); | ||
349 | 347 | ||
350 | frame->frame.base[0] = xine_xmalloc_aligned (16, frame->frame.pitches[0] * height, | 348 | frame->frame.base[0] = xine_xmalloc_aligned (16, frame->frame.pitches[0] * height, |
351 | (void **)&frame->chunk[0]); | 349 | (void **)&frame->chunk[0]); |
352 | frame->chunk[1] = NULL; | 350 | frame->chunk[1] = NULL; |
353 | frame->chunk[2] = NULL; | 351 | frame->chunk[2] = NULL; |
354 | } | 352 | } |