OSDN Git Service

lavf: don't try to free private options if priv_data is NULL.
authorAnton Khirnov <anton@khirnov.net>
Mon, 6 Jun 2011 11:14:05 +0000 (13:14 +0200)
committerAnton Khirnov <anton@khirnov.net>
Wed, 8 Jun 2011 17:51:31 +0000 (19:51 +0200)
commitdbaba52ed25f79c8be0ce1a478b229bf868f8c11
treedd866529d18f9860cea016b0d02cd935f336151f
parent9bcbb250e23959075765edd3cb4c1fcb46736d7d
lavf: don't try to free private options if priv_data is NULL.

This might happen if there was an error before priv_data was allocated
and result in segfault.
libavformat/utils.c