parse_packet: use pkt.pos always instead of the avparser offset.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 26 Jul 2012 00:20:59 +0000 (02:20 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 26 Jul 2012 00:20:59 +0000 (02:20 +0200)
commit2880c316602bacba1ce5fa2c75890527534b2af3
tree08ad1620de33916b9cd3bbe10a277782a069e840
parent4e7f9ebdc29f7c0f9e7e361ec54861f643918759
parse_packet: use pkt.pos always instead of the avparser offset.

This is more correct and will be needed when the code is moved to
a later point.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c