avmux: avoid to use unintialized variable
authorHaihao Xiang <haihao.xiang@intel.com>
Wed, 15 Apr 2020 07:00:02 +0000 (15:00 +0800)
committerHaihao Xiang <haihao.xiang@intel.com>
Wed, 15 Apr 2020 07:00:02 +0000 (15:00 +0800)
commit3c6432698e6e008c2e47940f8a8f971b6182c114
tree46ca5ed7e35adfd624d546ef6647d642176af159
parent39e6f846e0e867185437925bf766a6ba10e6404f
avmux: avoid to use unintialized variable

Without this fix, running the command below will get an error randomly.

Example:
gst-launch-1.0 videotestsrc ! vp9enc ! avmux_ivf ! fakesink

ERROR: pipeline doesn't want to preroll.
0:00:02.388528491 30148 0x5601b424a370 ERROR                  libav :0::
Tag [1]V[0][0] incompatible with output codec id '167' (VP90)
ext/libav/gstavmux.c