[FFmpeg-devel] Patch: update comment for the reference of av_alloc_format_context
Michael Niedermayer
michaelni
Wed Feb 18 13:20:50 CET 2009
On Wed, Feb 18, 2009 at 07:55:33PM +0800, avcoder wrote:
> Dear:
> Index: avformat.h
> ===================================================================
> --- avformat.h ??? 17428?
> +++ avformat.h ??????
> @@ -535,7 +535,7 @@
> * sizeof(AVFormatContext) must not be used outside libav*.
> */
> typedef struct AVFormatContext {
> - const AVClass *av_class; /**< Set by av_alloc_format_context. */
> + const AVClass *av_class; /**< Set by avformat_alloc_context. */
> /* Can only be iformat or oformat, not both at the same time. */
ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090218/6d403b15/attachment.pgp>
More information about the ffmpeg-devel
mailing list