Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: source/patched-ffmpeg-mt/libavfilter/vf_pad.c

Issue 3384002: ffmpeg source update for sep 09 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/patched-ffmpeg-mt/libavfilter/vf_hflip.c ('k') | source/patched-ffmpeg-mt/libavfilter/vf_scale.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/patched-ffmpeg-mt/libavfilter/vf_pad.c
===================================================================
--- source/patched-ffmpeg-mt/libavfilter/vf_pad.c (revision 59334)
+++ source/patched-ffmpeg-mt/libavfilter/vf_pad.c (working copy)
@@ -407,7 +407,7 @@
color->w &= ~((1 << color->hsub) - 1);
color->h &= ~((1 << color->vsub) - 1);
- if (av_check_image_size(color->w, color->h, 0, ctx) < 0)
+ if (av_image_check_size(color->w, color->h, 0, ctx) < 0)
return AVERROR(EINVAL);
memcpy(rgba_color, color->color, sizeof(rgba_color));
@@ -428,9 +428,9 @@
{
ColorContext *color = link->src->priv;
AVFilterBufferRef *picref = avfilter_get_video_buffer(link, AV_PERM_WRITE, color->w, color->h);
- picref->pixel_aspect = (AVRational) {1, 1};
- picref->pts = av_rescale_q(color->pts++, color->time_base, AV_TIME_BASE_Q);
- picref->pos = 0;
+ picref->video->pixel_aspect = (AVRational) {1, 1};
+ picref->pts = av_rescale_q(color->pts++, color->time_base, AV_TIME_BASE_Q);
+ picref->pos = 0;
avfilter_start_frame(link, avfilter_ref_buffer(picref, ~0));
draw_rectangle(picref,
« no previous file with comments | « source/patched-ffmpeg-mt/libavfilter/vf_hflip.c ('k') | source/patched-ffmpeg-mt/libavfilter/vf_scale.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698