Commit ba6b88f0 authored by Thomas Guillem's avatar Thomas Guillem

a52: fix FPE when fmt_out.i_rate is already initialized

If fmt_out.i_rate is already set to a good value from Open(), date_Init() is
not called and date_Increment() triggers a FPE.

This is a regression from 31a4ceaf
parent 39e7d2b0
......@@ -343,6 +343,7 @@ static int Open( vlc_object_t *p_this )
/* Set output properties (Passthrough ONLY) */
p_dec->fmt_out.i_codec = p_dec->fmt_in.i_codec;
p_dec-> = p_dec->;
p_dec-> = 0;
/* Set callback */
p_dec->pf_packetize = PacketizeBlock;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment