aboutsummaryrefslogtreecommitdiff
path: root/libavformat/sol.c
diff options
context:
space:
mode:
authorReimar Döffinger2012-05-01 19:59:29 +0200
committerReimar Döffinger2012-05-01 23:20:52 +0200
commit8f63f241d499a01d086874af36801167b72b7036 (patch)
tree1ff0d94ac5bcb721d7ab4454ee1244610b88e623 /libavformat/sol.c
parent7effbee66cf457c62f795d9b9ed3a1110b364b89 (diff)
Remove some useless code that duplicates av_get_packet.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavformat/sol.c')
-rw-r--r--libavformat/sol.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/sol.c b/libavformat/sol.c
index b2ecd82c46..8650f0b355 100644
--- a/libavformat/sol.c
+++ b/libavformat/sol.c
@@ -135,10 +135,6 @@ static int sol_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;
}