History

Merge commit 'ea78a348d86a3a733f6c1e0a65cfdd8283d924b9'

* commit 'ea78a348d86a3a733f6c1e0a65cfdd8283d924b9': eacmv: Make sure a reference frame exists before referencing it Conflicts: libavcodec/eacmv.c

Michael Niedermayer committed 13 years ago

Commit 19769762 parents 8fc441c ea78a341 file · +2 −2Browse files

Unified · Split

libavcodec/eacmv.c+2−2
@@ -123,8 +123,8 @@ static void cmv_decode_inter(CmvContext *s, AVFrame *frame, const uint8_t *buf, · 122 unmodified lines
123 int yoffset = ((buf[i] >> 4)) - 7;123 int yoffset = ((buf[i] >> 4)) - 7;
124 if (s->last_frame->data[0])124 if (s->last_frame->data[0])
125 cmv_motcomp(frame->data[0], frame->linesize[0],125 cmv_motcomp(frame->data[0], frame->linesize[0],
126 s->last_frame->data[0], s->last_frame->linesize[0],126 s->last_frame->data[0], s->last_frame->linesize[0],
127 x*4, y*4, xoffset, yoffset, s->avctx->width, s->avctx->height);127 x*4, y*4, xoffset, yoffset, s->avctx->width, s->avctx->height);
128 }128 }
129 i++;129 i++;
130 }130 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t