[MPlayer-cvslog] CVS: main mplayer.c,1.935,1.936
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Apr 23 20:13:00 CEST 2006
Hi,
On Sun, Apr 23, 2006 at 05:39:53PM +0200, Alban Bedel CVS wrote:
> +static int mp_property_stream_start(m_option_t* prop,int action,void* arg) {
> + if (!demuxer || !demuxer->stream) return M_PROPERTY_UNAVAILABLE;
> + switch (action) {
> + case M_PROPERTY_GET:
> + *(off_t*)arg = demuxer->stream->start_pos;
> + return M_PROPERTY_OK;
> + }
> + return M_PROPERTY_NOT_IMPLEMENTED;
> +}
Hmm.. Didn't you tell me there should be a check for arg==NULL? :-P
Greetings,
Reimar Döffinger
More information about the MPlayer-cvslog
mailing list