Commit 88c338c2 authored by bcoudurier's avatar bcoudurier

cosmetics, change case and comments alignment

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19305 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a2d77b6f
...@@ -1119,7 +1119,7 @@ static void mxf_write_index_table_segment(AVFormatContext *s) ...@@ -1119,7 +1119,7 @@ static void mxf_write_index_table_segment(AVFormatContext *s)
if (mxf->index_entries[j].flags & 0x10) { // backward prediction if (mxf->index_entries[j].flags & 0x10) { // backward prediction
// next is not b, so is reordered // next is not b, so is reordered
if (!(mxf->index_entries[i+1].flags & 0x10)) { if (!(mxf->index_entries[i+1].flags & 0x10)) {
if ((mxf->index_entries[i].flags & 0x11) == 0) // i frame if ((mxf->index_entries[i].flags & 0x11) == 0) // I frame
temporal_offset = 0; temporal_offset = 0;
else else
temporal_offset = -temporal_offset; temporal_offset = -temporal_offset;
...@@ -1309,7 +1309,7 @@ static int mxf_parse_mpeg2_frame(AVFormatContext *s, AVStream *st, AVPacket *pkt ...@@ -1309,7 +1309,7 @@ static int mxf_parse_mpeg2_frame(AVFormatContext *s, AVStream *st, AVPacket *pkt
for(i = 0; i < pkt->size - 4; i++) { for(i = 0; i < pkt->size - 4; i++) {
c = (c<<8) + pkt->data[i]; c = (c<<8) + pkt->data[i];
if (c == 0x1B5) { if (c == 0x1b5) {
if ((pkt->data[i+1] & 0xf0) == 0x10) { // seq ext if ((pkt->data[i+1] & 0xf0) == 0x10) { // seq ext
st->codec->profile = pkt->data[i+1] & 0x07; st->codec->profile = pkt->data[i+1] & 0x07;
st->codec->level = pkt->data[i+2] >> 4; st->codec->level = pkt->data[i+2] >> 4;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment