e066281b74
several new codecs added, including an WMA encoder, Theora encoding via libtheora, and H.264 encoding via x264 with feedback from brad@, jolan@, naddy@ and Nikns Sainkin <nikns at secure dot lv> OK jolan@
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
$OpenBSD: patch-libavcodec_mpegvideo_c,v 1.2 2007/05/25 15:54:14 jakemsr Exp $
|
|
--- libavcodec/mpegvideo.c.orig Wed Apr 4 21:25:04 2007
|
|
+++ libavcodec/mpegvideo.c Tue Apr 17 22:02:51 2007
|
|
@@ -4840,7 +4840,7 @@ static int pre_estimate_motion_thread(AVCodecContext *
|
|
static int estimate_motion_thread(AVCodecContext *c, void *arg){
|
|
MpegEncContext *s= arg;
|
|
|
|
- ff_check_alignment();
|
|
+ /*ff_check_alignment();*/
|
|
|
|
s->me.dia_size= s->avctx->dia_size;
|
|
s->first_slice_line=1;
|
|
@@ -4868,7 +4868,7 @@ static int mb_var_thread(AVCodecContext *c, void *arg)
|
|
MpegEncContext *s= arg;
|
|
int mb_x, mb_y;
|
|
|
|
- ff_check_alignment();
|
|
+ /*ff_check_alignment();*/
|
|
|
|
for(mb_y=s->start_mb_y; mb_y < s->end_mb_y; mb_y++) {
|
|
for(mb_x=0; mb_x < s->mb_width; mb_x++) {
|
|
@@ -4917,7 +4917,7 @@ static int encode_thread(AVCodecContext *c, void *arg)
|
|
PutBitContext pb[2], pb2[2], tex_pb[2];
|
|
//printf("%d->%d\n", s->resync_mb_y, s->end_mb_y);
|
|
|
|
- ff_check_alignment();
|
|
+ /*ff_check_alignment();*/
|
|
|
|
for(i=0; i<2; i++){
|
|
init_put_bits(&pb [i], bit_buf [i], MAX_MB_BYTES);
|