[FFmpeg-devel] Realmedia patch

Måns Rullgård mans
Thu Aug 28 18:02:28 CEST 2008


Luca Abeni wrote:
> Hi Ronald,
>
> Ronald S. Bultje wrote:
> [...]
>> Index: ffmpeg-svn/libavformat/rtsp.c
>> ===================================================================
>> --- ffmpeg-svn.orig/libavformat/rtsp.c	2008-08-27 19:03:58.000000000 -0400
>> +++ ffmpeg-svn/libavformat/rtsp.c	2008-08-28 09:06:31.000000000 -0400
>> @@ -42,6 +42,12 @@
>>      RTSP_STATE_PAUSED,
>>  };
>>
>> +enum RTSPServerType {
>> +    RTSP_SERVER_RTP = 0, /*< Standard-compliant RTP-server */
>
> It's still not clear why "= 0". If this assignment is not needed, I'd say to

It is not needed.  The first value of an enum defaults to zero.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list