Ticket #743: patchv210align24.diff
| File patchv210align24.diff, 484 bytes (added by , 15 years ago) |
|---|
-
libavcodec/v210dec.c
diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c index 147f1f2..364d87f 100644
a b static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, 80 80 if (s->custom_stride ) 81 81 stride = s->custom_stride; 82 82 else { 83 int aligned_width = ((avctx->width + 47) / 48) * 48;83 int aligned_width = ((avctx->width + 23) / 24) * 24; 84 84 stride = aligned_width * 8 / 3; 85 85 } 86 86
