[FFmpeg-devel] [PATCH] libavfilter-soc: misc fixes for vf_filter.c:init()

Stefano Sabatini stefano.sabatini-lala
Mon Feb 16 00:34:47 CET 2009


Hi all,

summary:

* fail-if-invalid-format.patch
  Make the init immediately fail if an unknown format or a too long
  one has been introduced in the list.
  This prevents unexpected behaviors, for example if the user simply
  made a typo.

* format-introduce-len.patch
  Introduce a len variable, improve readability and help the following
  refactoring work.

* format-fix-off-by-one.patch
  If the size of the read name is 32, the current code goes to write
  on the byte just after the end of the "name" array.

* factorize-format.patch
  Make the case "last name in the list" to be treated in the same loop
  as the case "not last name in the list", improve overall design of
  the function.

* format-reindent+cosm.patch
  Reindent after the last commit + newline for pleasing your eyes.

* fix-messages.patch
  Capitalize and add a missing '\n'.

* print-invalid-pixel-format.patch
  Print in the error message the name of the unknown pixel format,
  make the message more helpful.

Regards.
-- 
FFmpeg = Fostering and Faboulous Minimalistic Portable Encoding/decoding Gorilla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fail-if-invalid-format.patch
Type: text/x-diff
Size: 819 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090216/fa60dec4/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: format-introduce-len.patch
Type: text/x-diff
Size: 1039 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090216/fa60dec4/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: format-fix-off-by-one.patch
Type: text/x-diff
Size: 580 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090216/fa60dec4/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: factorize-format.patch
Type: text/x-diff
Size: 1009 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090216/fa60dec4/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: format-reindent+cosm.patch
Type: text/x-diff
Size: 978 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090216/fa60dec4/attachment-0004.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-messages.patch
Type: text/x-diff
Size: 821 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090216/fa60dec4/attachment-0005.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: print-invalid-pixel-format.patch
Type: text/x-diff
Size: 577 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090216/fa60dec4/attachment-0006.patch>



More information about the ffmpeg-devel mailing list