Blame media/libtheora/bug468275-r18219.patch

Packit f0b94e
diff --git a/media/libtheora/lib/state.c b/media/libtheora/lib/state.c
Packit f0b94e
--- a/media/libtheora/lib/state.c
Packit f0b94e
+++ b/media/libtheora/lib/state.c
Packit f0b94e
@@ -583,17 +583,17 @@ static int oc_state_ref_bufs_init(oc_the
Packit f0b94e
    ref_frame_sz
Packit f0b94e
     return TH_EIMPL;
Packit f0b94e
   }
Packit f0b94e
   ref_frame_data=oc_aligned_malloc(ref_frame_data_sz,16);
Packit f0b94e
   frag_buf_offs=_state->frag_buf_offs=
Packit f0b94e
    _ogg_malloc(_state->nfrags*sizeof(*frag_buf_offs));
Packit f0b94e
   if(ref_frame_data==NULL||frag_buf_offs==NULL){
Packit f0b94e
     _ogg_free(frag_buf_offs);
Packit f0b94e
-    _ogg_free(ref_frame_data);
Packit f0b94e
+    oc_aligned_free(ref_frame_data);
Packit f0b94e
     return TH_EFAULT;
Packit f0b94e
   }
Packit f0b94e
   /*Set up the width, height and stride for the image buffers.*/
Packit f0b94e
   _state->ref_frame_bufs[0][0].width=info->frame_width;
Packit f0b94e
   _state->ref_frame_bufs[0][0].height=info->frame_height;
Packit f0b94e
   _state->ref_frame_bufs[0][0].stride=yhstride;
Packit f0b94e
   _state->ref_frame_bufs[0][1].width=_state->ref_frame_bufs[0][2].width=
Packit f0b94e
    info->frame_width>>hdec;