~ppsspp/ppsspp/ffmpeg

« back to all changes in this revision

Viewing changes to libavfilter/avf_avectorscope.c

  • Committer: Henrik Rydgård
  • Date: 2014-01-03 10:44:32 UTC
  • Revision ID: git-v1:87c6c126784b1718bfa448ecf2e6a9fef781eb4e
Update our ffmpeg snapshot to a clone of the official repository.

This is because Maxim's at3plus support has been officially merged!

Show diffs side-by-side

added added

removed removed

Lines of Context:
186
186
                         p->outpicref->height != outlink->h) {
187
187
        av_frame_free(&p->outpicref);
188
188
        p->outpicref = ff_get_video_buffer(outlink, outlink->w, outlink->h);
189
 
        if (!p->outpicref)
 
189
        if (!p->outpicref) {
190
190
            av_frame_free(&insamples);
191
191
            return AVERROR(ENOMEM);
 
192
        }
192
193
 
193
194
        for (i = 0; i < outlink->h; i++)
194
195
            memset(p->outpicref->data[0] + i * p->outpicref->linesize[0], 0, outlink->w * 4);
261
262
    { NULL }
262
263
};
263
264
 
264
 
AVFilter avfilter_avf_avectorscope = {
 
265
AVFilter ff_avf_avectorscope = {
265
266
    .name          = "avectorscope",
266
267
    .description   = NULL_IF_CONFIG_SMALL("Convert input audio to vectorscope video output."),
267
268
    .uninit        = uninit,