Mercurial > libavformat.hg
comparison nutdec.c @ 2273:7eb456c4ed8a libavformat
Replace all occurrences of AVERROR_NOMEM with AVERROR(ENOMEM).
author | takis |
---|---|
date | Thu, 19 Jul 2007 15:21:30 +0000 |
parents | 9c2823ab0146 |
children | 768d27bac3c1 |
comparison
equal
deleted
inserted
replaced
2272:8963d9ed1859 | 2273:7eb456c4ed8a |
---|---|
291 GET_V(stream_id, tmp < s->nb_streams && !nut->stream[tmp].time_base.num); | 291 GET_V(stream_id, tmp < s->nb_streams && !nut->stream[tmp].time_base.num); |
292 stc= &nut->stream[stream_id]; | 292 stc= &nut->stream[stream_id]; |
293 | 293 |
294 st = s->streams[stream_id]; | 294 st = s->streams[stream_id]; |
295 if (!st) | 295 if (!st) |
296 return AVERROR_NOMEM; | 296 return AVERROR(ENOMEM); |
297 | 297 |
298 class = get_v(bc); | 298 class = get_v(bc); |
299 tmp = get_fourcc(bc); | 299 tmp = get_fourcc(bc); |
300 st->codec->codec_tag= tmp; | 300 st->codec->codec_tag= tmp; |
301 switch(class) | 301 switch(class) |