diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@opendot.cl> | 2008-11-18 06:49:33 +0300 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo@opendot.cl> | 2008-11-18 06:49:33 +0300 |
commit | a45bdbc4f52c40c98c71e67f16f9ba98f0fe39f8 (patch) | |
tree | 95d46febd12c194c42564c8e592f2d6a51cd3ef7 /libavformat | |
parent | fc5d0db59ae8bf883b60113e8d631b1e3b98bbdf (diff) |
Trivial, Cosmetics
Originally committed as revision 15871 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mtv.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/libavformat/mtv.c b/libavformat/mtv.c index 75da0e76e3..9def92daf1 100644 --- a/libavformat/mtv.c +++ b/libavformat/mtv.c @@ -36,17 +36,17 @@ typedef struct MTVDemuxContext { - unsigned int file_size; ///< filesize, not always right - unsigned int segments; ///< number of 512 byte segments - unsigned int audio_identifier; ///< 'MP3' on all files I have seen - unsigned int audio_br; ///< bitrate of audio chanel (mp3) - unsigned int img_colorfmt; ///< frame colorfmt rgb 565/555 - unsigned int img_bpp; ///< frame bits per pixel - unsigned int img_width; // - unsigned int img_height; // - unsigned int img_segment_size; ///< size of image segment - unsigned int video_fps; // - unsigned int full_segment_size; + unsigned int file_size; ///< filesize, not always right + unsigned int segments; ///< number of 512 byte segments + unsigned int audio_identifier; ///< 'MP3' on all files I have seen + unsigned int audio_br; ///< bitrate of audio chanel (mp3) + unsigned int img_colorfmt; ///< frame colorfmt rgb 565/555 + unsigned int img_bpp; ///< frame bits per pixel + unsigned int img_width; // + unsigned int img_height; // + unsigned int img_segment_size; ///< size of image segment + unsigned int video_fps; // + unsigned int full_segment_size; } MTVDemuxContext; @@ -86,11 +86,11 @@ static int mtv_read_header(AVFormatContext *s, AVFormatParameters *ap) mtv->img_segment_size; mtv->video_fps = (mtv->audio_br / 4) / audio_subsegments; - /* FIXME Add sanity check here */ + // FIXME Add sanity check here - /* all systems go! init decoders */ + // all systems go! init decoders - /* video - raw rgb565 */ + // video - raw rgb565 st = av_new_stream(s, VIDEO_SID); if(!st) @@ -105,7 +105,7 @@ static int mtv_read_header(AVFormatContext *s, AVFormatParameters *ap) st->codec->bits_per_coded_sample = mtv->img_bpp; st->codec->sample_rate = mtv->video_fps; - /* audio - mp3 */ + // audio - mp3 st = av_new_stream(s, AUDIO_SID); if(!st) @@ -117,7 +117,7 @@ static int mtv_read_header(AVFormatContext *s, AVFormatParameters *ap) st->codec->bit_rate = mtv->audio_br; st->need_parsing = AVSTREAM_PARSE_FULL; - /* Jump over header */ + // Jump over header if(url_fseek(pb, MTV_HEADER_SIZE, SEEK_SET) != MTV_HEADER_SIZE) return AVERROR(EIO); |