diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-05-01 19:59:29 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-05-01 23:20:52 +0200 |
commit | 8f63f241d499a01d086874af36801167b72b7036 (patch) | |
tree | 1ff0d94ac5bcb721d7ab4454ee1244610b88e623 /libavformat/flvdec.c | |
parent | 7effbee66cf457c62f795d9b9ed3a1110b364b89 (diff) | |
download | ffmpeg-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/flvdec.c')
-rw-r--r-- | libavformat/flvdec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 3d23b67c29..8fce605f6e 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -656,9 +656,6 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt) if (ret < 0) { return AVERROR(EIO); } - /* note: we need to modify the packet size here to handle the last - packet */ - pkt->size = ret; pkt->dts = dts; pkt->pts = pts == AV_NOPTS_VALUE ? dts : pts; pkt->stream_index = st->index; |