Mercurial > libavcodec.hg
comparison mpeg12.c @ 12024:fdafbcef52f5 libavcodec
Fix grammar errors in documentation
| author | mru |
|---|---|
| date | Wed, 30 Jun 2010 15:38:06 +0000 |
| parents | 7dd2a45249a9 |
| children | 2caea98f5711 |
comparison
equal
deleted
inserted
replaced
| 12023:c7455450364d | 12024:fdafbcef52f5 |
|---|---|
| 1918 | 1918 |
| 1919 return 0; //not reached | 1919 return 0; //not reached |
| 1920 } | 1920 } |
| 1921 | 1921 |
| 1922 /** | 1922 /** |
| 1923 * Handles slice ends. | 1923 * Handle slice ends. |
| 1924 * @return 1 if it seems to be the last slice | 1924 * @return 1 if it seems to be the last slice |
| 1925 */ | 1925 */ |
| 1926 static int slice_end(AVCodecContext *avctx, AVFrame *pict) | 1926 static int slice_end(AVCodecContext *avctx, AVFrame *pict) |
| 1927 { | 1927 { |
| 1928 Mpeg1Context *s1 = avctx->priv_data; | 1928 Mpeg1Context *s1 = avctx->priv_data; |
| 2153 av_log(s->avctx, AV_LOG_DEBUG, "GOP (%2d:%02d:%02d.[%02d]) closed_gop=%d broken_link=%d\n", | 2153 av_log(s->avctx, AV_LOG_DEBUG, "GOP (%2d:%02d:%02d.[%02d]) closed_gop=%d broken_link=%d\n", |
| 2154 time_code_hours, time_code_minutes, time_code_seconds, | 2154 time_code_hours, time_code_minutes, time_code_seconds, |
| 2155 time_code_pictures, s->closed_gop, broken_link); | 2155 time_code_pictures, s->closed_gop, broken_link); |
| 2156 } | 2156 } |
| 2157 /** | 2157 /** |
| 2158 * Finds the end of the current frame in the bitstream. | 2158 * Find the end of the current frame in the bitstream. |
| 2159 * @return the position of the first byte of the next frame, or -1 | 2159 * @return the position of the first byte of the next frame, or -1 |
| 2160 */ | 2160 */ |
| 2161 int ff_mpeg1_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size, AVCodecParserContext *s) | 2161 int ff_mpeg1_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size, AVCodecParserContext *s) |
| 2162 { | 2162 { |
| 2163 int i; | 2163 int i; |
