~ppsspp/ppsspp/ffmpeg

« back to all changes in this revision

Viewing changes to libavutil/tree.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:
225
225
        if (check(root) > 999) {
226
226
            av_log(NULL, AV_LOG_ERROR, "FATAL error %d\n", i);
227
227
            print(root, 0);
228
 
            return -1;
 
228
            return 1;
229
229
        }
230
230
        av_log(NULL, AV_LOG_DEBUG, "inserting %4d\n", (int)j);
231
231
 
233
233
            node = av_tree_node_alloc();
234
234
        if (!node) {
235
235
            av_log(NULL, AV_LOG_ERROR, "Memory allocation failure.\n");
236
 
            return AVERROR(ENOMEM);
 
236
            return 1;
237
237
        }
238
238
        av_tree_insert(&root, (void *)(j + 1), cmp, &node);
239
239