changeset 4323:c9e6f447fbbc libavcodec

10l
author michael
date Thu, 21 Dec 2006 22:35:13 +0000
parents 4c7c3765fdb0
children fb16458e3a86
files mpegvideo.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Thu Dec 21 15:49:40 2006 +0000
+++ b/mpegvideo.c	Thu Dec 21 22:35:13 2006 +0000
@@ -5371,6 +5371,11 @@
                     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;