Mercurial > libavformat.hg
comparison pva.c @ 2894:35cc09bfab21 libavformat
remove unnecessary shift
| author | ivo |
|---|---|
| date | Sat, 05 Jan 2008 22:10:00 +0000 |
| parents | a174a3a0c2c0 |
| children | 54e2afeca044 |
comparison
equal
deleted
inserted
replaced
| 2893:c31c50af40c5 | 2894:35cc09bfab21 |
|---|---|
| 71 get_byte(pb); /* counter not used */ | 71 get_byte(pb); /* counter not used */ |
| 72 reserved = get_byte(pb); | 72 reserved = get_byte(pb); |
| 73 flags = get_byte(pb); | 73 flags = get_byte(pb); |
| 74 length = get_be16(pb); | 74 length = get_be16(pb); |
| 75 | 75 |
| 76 pts_flag = (flags & 0x10) >> 4; | 76 pts_flag = flags & 0x10; |
| 77 | 77 |
| 78 if (syncword != PVA_MAGIC) { | 78 if (syncword != PVA_MAGIC) { |
| 79 av_log(s, AV_LOG_ERROR, "invalid syncword\n"); | 79 av_log(s, AV_LOG_ERROR, "invalid syncword\n"); |
| 80 return AVERROR(EIO); | 80 return AVERROR(EIO); |
| 81 } | 81 } |
