No description
Consider the following byte sequence
00 00 01 0a 00 00 00 01 09 ...
^ ^
A B
decode_nal() determines dst_length to be 1 (i. e. the byte between label
A and B above). However, this byte is a trailing zero byte as the spec
says the the current NAL unit is terminated by a byte sequence 00 00 00.
The current code used a loop to decrement dst_length accordingly. But the
loop doesn't start as the loop condition checks for dst_length > 1, which
should read dst_length > 0.
patch by Reinhard Nissl, rnissl gmx de
Originally committed as revision 8689 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
||
|---|---|---|
| doc | ||
| libavcodec | ||
| libavformat | ||
| libavutil | ||
| libpostproc | ||
| libswscale | ||
| tests | ||
| vhook | ||
| build_avopt | ||
| Changelog | ||
| clean-diff | ||
| cmdutils.c | ||
| cmdutils.h | ||
| common.mak | ||
| configure | ||
| COPYING | ||
| CREDITS | ||
| cws2fws.c | ||
| Doxyfile | ||
| ffinstall.nsi | ||
| ffmpeg.c | ||
| ffplay.c | ||
| ffserver.c | ||
| ffserver.h | ||
| INSTALL | ||
| MAINTAINERS | ||
| Makefile | ||
| output_example.c | ||
| pktdumper.c | ||
| qt-faststart.c | ||
| README | ||
| unwrap-diff | ||
| version.sh | ||
FFmpeg README ------------- 1) Documentation ---------------- * Read the documentation in the doc/ directory. 2) Licensing ------------ * Read the file COPYING. ffmpeg and the associated libraries EXCEPT libpostproc and libswscale are licensed under the GNU Lesser General Public License. * libpostproc and libswscale are distributed under the GNU General Public License and their compilation and use is optional in ffmpeg. Fabrice Bellard.