In the current implementation of rtp_parse_packet(), finalize_packet() is
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 3 Mar 2009 13:41:50 +0000 (13:41 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Tue, 3 Mar 2009 13:41:50 +0000 (13:41 +0000)
commitf3e71942e77fa8dcea62f9e4eebbbbdfbf062b61
treeb827b68005fd59a4263f6d644bde4aab37ae910b
parent2db272e93e8c0c0d5c7c193c85906edb6be54dd6
In the current implementation of rtp_parse_packet(), finalize_packet() is
called for all packets with an internal handler function but only for
non-first packets from dynamic payload parse_packet() handlers. This patch
fixes that. Bug was noticed by Luca in "[PATCH] rtpdec.c: don't overwrite
pkt->stream_index in finalize_packet()" thread.

Originally committed as revision 17764 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtpdec.c