Remove some useless code that duplicates av_get_packet.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
Reimar Döffinger
2012-05-01 19:59:29 +02:00
parent 7effbee66c
commit 8f63f241d4
8 changed files with 6 additions and 33 deletions

View File

@@ -189,10 +189,6 @@ static int au_read_packet(AVFormatContext *s,
return ret;
pkt->flags &= ~AV_PKT_FLAG_CORRUPT;
pkt->stream_index = 0;
/* note: we need to modify the packet size here to handle the last
packet */
pkt->size = ret;
return 0;
}