This makes the avi demuxer create packets with proper pos values with the file from ticket #140.
Originally committed as revision 24345 to svn://svn.ffmpeg.org/ffmpeg/trunk