diff options
author | Jason Garrett-Glaser <jason@x264.com> | 2011-06-03 01:12:28 -0700 |
---|---|---|
committer | Jason Garrett-Glaser <jason@x264.com> | 2011-06-13 21:16:30 -0700 |
commit | c90b94424cd4953a095d6d6648ba8d499e306b35 (patch) | |
tree | bf5a8c38d47d318f1be087def6812a3e005cdabe /libavcodec/snow.c | |
parent | 99477adc31c0569b3cebe8004dd584aa4726a2d1 (diff) | |
download | ffmpeg-c90b94424cd4953a095d6d6648ba8d499e306b35.tar.gz |
4:4:4 H.264 decoding support
Note: this is 4:4:4 from the 2007 spec revision, not the previous (now deprecated) 4:4:4 mode in H.264.
Diffstat (limited to 'libavcodec/snow.c')
-rw-r--r-- | libavcodec/snow.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c index 6db0b290ba..28f04f119b 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -1978,13 +1978,13 @@ static int frame_start(SnowContext *s){ if(s->current_picture.data[0]){ s->dsp.draw_edges(s->current_picture.data[0], s->current_picture.linesize[0], w , h , - EDGE_WIDTH , EDGE_TOP | EDGE_BOTTOM); + EDGE_WIDTH , EDGE_WIDTH , EDGE_TOP | EDGE_BOTTOM); s->dsp.draw_edges(s->current_picture.data[1], s->current_picture.linesize[1], w>>1, h>>1, - EDGE_WIDTH/2, EDGE_TOP | EDGE_BOTTOM); + EDGE_WIDTH/2, EDGE_WIDTH/2, EDGE_TOP | EDGE_BOTTOM); s->dsp.draw_edges(s->current_picture.data[2], s->current_picture.linesize[2], w>>1, h>>1, - EDGE_WIDTH/2, EDGE_TOP | EDGE_BOTTOM); + EDGE_WIDTH/2, EDGE_WIDTH/2, EDGE_TOP | EDGE_BOTTOM); } release_buffer(s->avctx); |