libeplayer3/input: fix audio flush packet initialization

Origin commit data
------------------
Branch: master
Commit: eebb7d6b39
Author: martii <m4rtii@gmx.de>
Date: 2014-05-01 (Thu, 01 May 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2014-05-01 10:01:36 +02:00
parent 1eb4d2913f
commit 07072ac366

View File

@@ -244,7 +244,7 @@ bool Input::Play()
if (_audioTrack) { if (_audioTrack) {
// flush audio decoder // flush audio decoder
AVPacket packet; AVPacket packet;
av_init_packet(&packet); packet.data = NULL;
packet.size = 0; packet.size = 0;
player->output.Write(avfc, _audioTrack->stream, &packet, 0); player->output.Write(avfc, _audioTrack->stream, &packet, 0);
} }