hi, change the confusing "source" var to "ref" of AVMotionVector. define two constants AV_MV_REF_FRAME_PREVIOUS and AV_MV_REF_FRAME_NEXT all changes: https://github.com/dsmudhar/FFmpeg/commit/33b5ad805cccd7b48a6b0d643c39e8dd26f0e98b
please confirm this: snowdec.c Line 96: BlockNode *bn... ... Line 112: avmv->source = -1 - bn->ref; i searched the code, bn->ref set was >= 0 so, i set it always prev: avmv->ref = AV_MV_REF_FRAME_PREVIOUS; since, in current code, "source" is checked if > 0 to be future ref, and line 112 set it always negative. Regards, DSM_
0001-set-exact-ref-frame-in-AVMotionVector.patch
Description: Binary data
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel