1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00
Go to file
Reinhard Nissl 6ac9696e77 Remove a NAL unit's trailing zero bytes even when dst_length is 1.
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
2007-04-09 13:39:35 +00:00
2007-04-07 21:34:18 +00:00
2007-04-07 14:09:20 +00:00
2007-04-07 14:07:51 +00:00
2007-04-07 21:34:18 +00:00
2007-03-30 09:43:39 +00:00
2007-03-30 09:43:39 +00:00
2007-03-31 16:04:44 +00:00
2007-03-31 16:36:56 +00:00
2007-02-27 16:05:19 +00:00
2007-04-07 14:10:02 +00:00
2007-02-24 10:53:10 +00:00

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.
Languages
C 90.1%
Assembly 7.9%
Makefile 1.3%
C++ 0.2%
Objective-C 0.2%
Other 0.1%