[FFmpeg-devel] [PATCH 4/7] avformat/thp: dont mix integers with pointers
Michael Niedermayer
michaelni at gmx.at
Sat Aug 16 12:11:58 CEST 2014
On Sat, Aug 16, 2014 at 10:21:57AM +0200, Paul B Mahol wrote:
> On 8/16/14, Michael Niedermayer <michaelni at gmx.at> wrote:
> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> > ---
> > libavformat/thp.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/libavformat/thp.c b/libavformat/thp.c
> > index bc4f0daf..714cec6 100644
> > --- a/libavformat/thp.c
> > +++ b/libavformat/thp.c
> > @@ -98,7 +98,7 @@ static int thp_read_header(AVFormatContext *s)
> >
> > for (i = 0; i < thp->compcount; i++) {
> > if (thp->components[i] == 0) {
> > - if (thp->vst != 0)
> > + if (thp->vst)
> > break;
> >
> > /* Video component. */
> > --
> > 1.7.9.5
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
>
> ok
applied
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140816/048735df/attachment.asc>
More information about the ffmpeg-devel
mailing list