This way, we avoid overwriting stream_index in the user's AVPacket with a nonsense value. Originally committed as revision 22081 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 21974 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 21971 to svn://svn.ffmpeg.org/ffmpeg/trunk