On 11/8/2015 2:01 AM, Timothy Gu wrote: > --- > libavformat/genh.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/libavformat/genh.c b/libavformat/genh.c > index 260e320..44862b3 100644 > --- a/libavformat/genh.c > +++ b/libavformat/genh.c > @@ -40,7 +40,6 @@ static int genh_read_header(AVFormatContext *s) > { > unsigned start_offset, header_size, codec, coef_type, coef[2]; > GENHDemuxContext *c = s->priv_data; > - unsigned coef_splitted[2]; > int align, ch, ret; > AVStream *st; > > @@ -112,8 +111,7 @@ static int genh_read_header(AVFormatContext *s) > coef[1] = avio_rl32(s->pb); > c->dsp_int_type = avio_rl32(s->pb); > coef_type = avio_rl32(s->pb); > - coef_splitted[0] = avio_rl32(s->pb); > - coef_splitted[1] = avio_rl32(s->pb); > + avio_rl64(s->pb); /* coef_splitted */ > > if (st->codec->codec_id == AV_CODEC_ID_ADPCM_THP) { > if (st->codec->channels > 2) { >
https://ffmpeg.org/pipermail/ffmpeg-devel/2015-October/181546.html _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel