lavf: Make probe_codec return an error code
authorAlexandra Khirnova <alexandra.khirnova@gmail.com>
Thu, 12 Sep 2013 08:39:22 +0000 (10:39 +0200)
committerMartin Storsjö <martin@martin.st>
Mon, 16 Sep 2013 19:28:23 +0000 (22:28 +0300)
commit68b467742092364f9306283f40effde2c12efe08
treefa82fbf1312400cb0912f87505f3c3a4b200cf59
parent1daea5232fc9963ba93b1b6d07a2373f87c9b392
lavf: Make probe_codec return an error code

This allows handling errors from av_realloc properly.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/utils.c