aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rsodec.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-05-01 19:59:29 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-05-01 23:20:52 +0200
commit8f63f241d499a01d086874af36801167b72b7036 (patch)
tree1ff0d94ac5bcb721d7ab4454ee1244610b88e623 /libavformat/rsodec.c
parent7effbee66cf457c62f795d9b9ed3a1110b364b89 (diff)
downloadffmpeg-8f63f241d499a01d086874af36801167b72b7036.tar.gz
Remove some useless code that duplicates av_get_packet.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavformat/rsodec.c')
-rw-r--r--libavformat/rsodec.c3
1 files changed, 0 insertions, 3 deletions
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;
}