[FFmpeg-devel] Realmedia patch
Ronald S. Bultje
rsbultje
Sat Aug 30 20:40:57 CEST 2008
Hi,
On Sat, Aug 30, 2008 at 2:32 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Sat, Aug 30, 2008 at 10:39:55AM -0400, Ronald S. Bultje wrote:
>> On Thu, Aug 21, 2008 at 12:05 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
>> > On Mon, Aug 18, 2008 at 10:21:35AM -0400, Ronald S. Bultje wrote:
>> >> @@ -1263,24 +1403,25 @@
>> >>
>> >> av_log(s, AV_LOG_DEBUG, "hello state=%d\n", rt->state);
>> >>
>> >> + if (!(rt->real_stream && rt->no_streams_chosen_yet)) {
>> >> + if (rt->state == RTSP_STATE_PAUSED) {
>> >> - if (rt->state == RTSP_STATE_PAUSED) {
>> >> + snprintf(cmd, sizeof(cmd),
>> >> + "PLAY %s RTSP/1.0\r\n",
>> >> + s->filename);
>> >> - snprintf(cmd, sizeof(cmd),
>> >> - "PLAY %s RTSP/1.0\r\n",
>> >> - s->filename);
>> >> + } else {
>> >> - } else {
>> >
>> > cosmetics ...
>>
>> To best address the cosmetics, I'd like to apply a small cosmetics
>> patch to rtsp_pause() and rtsp_play(), see attached. Is that OK? With
>> attached, I can simply add an if(){ ... } around the relevant part,
>> but the "else" maks that difficult in the current version. My patch
>> removes the "else" case, which isn't needed since if() returns.
>
> Id leave the {}
> besides this iam fine with it but iam not rtsp maintainer ...
Well, Luca B. is kind of not responsive, so how about I'll give it 2-3
days and then I apply (I'll leave the {})?
Ronald
More information about the ffmpeg-devel
mailing list