public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Jan Hoogenraad <jan-conceptronic@hoogenraad.net>
To: "linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
	Hans Verkuil <hverkuil@xs4all.nl>
Subject: Confusing dmx_pes_type_t in dmx.h
Date: Tue, 05 Oct 2010 08:28:11 +0200	[thread overview]
Message-ID: <4CAAC57B.4000604@hoogenraad.net> (raw)

The file dmx.h declares dmx_pes_type_t which is ONLY used in this header 
file.
It is easy to make mistakes, as its member DMX_PES_OTHER resembles a 
similar symbol in demux.h from enum dmx_ts_pes:  DMX_TS_PES_OTHER

One problem was found because of Hans' compiler upgrade.

I think it would be safer (because it is easy to make mistakes) to 
remove  dmx_pes_type_t from dmx.h.

Who knows more on this driver ?

The found bug is fixed in the patch on:
http://linuxtv.org/hg/~jhoogenraad/ubuntu-firedtv/rev/44751f6fba2f

-- 
Jan Hoogenraad
Hoogenraad Interface Services
Postbus 2717
3500 GS Utrecht


             reply	other threads:[~2010-10-05  6:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-05  6:28 Jan Hoogenraad [this message]
2010-10-05 14:05 ` Confusing dmx_pes_type_t in dmx.h Andreas Oberritter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CAAC57B.4000604@hoogenraad.net \
    --to=jan-conceptronic@hoogenraad.net \
    --cc=hverkuil@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox