diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-12-21 22:35:13 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-12-21 22:35:13 +0000 |
commit | acff54d83128e955bad5563196ffee943d7df0cd (patch) | |
tree | c3a7a4b871970b050339facf9e072d2a9ec9e003 /libavcodec/mpegvideo.c | |
parent | 5d078bdb47e87fb206052cc224c3480cd3bac4f9 (diff) | |
download | ffmpeg-acff54d83128e955bad5563196ffee943d7df0cd.tar.gz |
10l
Originally committed as revision 7351 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 3429fb6ccc..4690380a0e 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -5371,6 +5371,11 @@ static int encode_thread(AVCodecContext *c, void *arg){ motion_y=s->b_direct_mv_table[xy][1]; ff_mpeg4_set_direct_mv(s, motion_x, motion_y); break; + case CANDIDATE_MB_TYPE_DIRECT0: + s->mv_dir = MV_DIR_FORWARD | MV_DIR_BACKWARD | MV_DIRECT; + s->mb_intra= 0; + ff_mpeg4_set_direct_mv(s, 0, 0); + break; case CANDIDATE_MB_TYPE_BIDIR: s->mv_dir = MV_DIR_FORWARD | MV_DIR_BACKWARD; s->mb_intra= 0; |