From 8f63f241d499a01d086874af36801167b72b7036 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Tue, 1 May 2012 19:59:29 +0200 Subject: Remove some useless code that duplicates av_get_packet. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Reimar Döffinger --- libavformat/rsodec.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavformat/rsodec.c') diff --git a/libavformat/rsodec.c b/libavformat/rsodec.c index 3933fc08c6..3fa85be163 100644 --- a/libavformat/rsodec.c +++ b/libavformat/rsodec.c @@ -83,9 +83,6 @@ static int rso_read_packet(AVFormatContext *s, AVPacket *pkt) 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; } -- cgit v1.2.3